From patchwork Sun Jan 8 12:58:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 39920 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:bc95:b0:ad:ade2:bfd2 with SMTP id fx21csp2423484pzb; Sun, 8 Jan 2023 04:59:23 -0800 (PST) X-Google-Smtp-Source: AMrXdXuQtk9L+R25svWjVNlgoxiQLNVU+E5OXNsxWm22yMmakOeguo95IrhFizhBtgzUGWqGruhp X-Received: by 2002:a17:906:915:b0:7c0:e98d:b27 with SMTP id i21-20020a170906091500b007c0e98d0b27mr52529939ejd.58.1673182763319; Sun, 08 Jan 2023 04:59:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673182763; cv=none; d=google.com; s=arc-20160816; b=KEW67OvyV+tC1X14SyZ7S3ARoW0W9xukzzl3EhAIaYXwETYzdDSOHBC8a3MGjMQgZX vtd/QNKZR7FtkKNCrRr02jKZk+kqK0H00xZSs7sKzGM2aWIEzaWB+NCgpdr3HHz3Paop hmCcEx3jPDmxZkxohR86jxaHc3Cbo2G05lf4DA4zdnfB4Xp3bZlg3G4xU2bYgolvWIEi j4cm0SfyCse3GotMWNIVAKXQgDANrWXoIC1kSy9WIIyvEk5wFNk2Zf7XoCedzT4usfK1 +MXUolebvJshOVF0ApGDEWS/KMHkOvuSCz3qHL+lKY/W3s6RDtNTUmZicTm5mS7MxMGv HT2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:delivered-to; bh=VkHYZa71d9LGD2ChJYd4f35RHOYZh8K4mVLpNbOC/y4=; b=qB+G6CWEEn2ec65IEB1UK5M8zMDCfRLyrBL5S3oEFJrSkkoMJ/lQf6bxxzF89e+x4z UGdVZE9sJoVG0q6EwvcUmbhJ57GRREnnjQckzXzK+lph4MqraVgEPEl23S65BuE8Xits cRt+rssaJHUCJc1fySehfPSiefSaKW26FqRQq1zAQx5GdJnbFgzbqx8aQpNUMJO9bIpT FJziyhruwzZ4CFvvmVbHwWU1JRTg3rdJq3Cq21hlqqOOjILysu7e7RiMLkl44fukAifh IjWPxC3Lx/GDt4rnaewnYkHSp/PUfjYtqHtglgMlzuHI8MuhN23m8PRgZ550qQ3IP+un 9Unw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id m7-20020a170906848700b0084d119e0672si6788469ejx.932.2023.01.08.04.59.22; Sun, 08 Jan 2023 04:59:23 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2AA9968BC68; Sun, 8 Jan 2023 14:58:46 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 11B2D68BB61 for ; Sun, 8 Jan 2023 14:58:37 +0200 (EET) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id BF2662404F7 for ; Sun, 8 Jan 2023 13:58:36 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id Samxwib23slp for ; Sun, 8 Jan 2023 13:58:36 +0100 (CET) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:2a00:c500:561:201::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id D1D762405F9 for ; Sun, 8 Jan 2023 13:58:33 +0100 (CET) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 9B5633A03EF for ; Sun, 8 Jan 2023 13:58:26 +0100 (CET) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Sun, 8 Jan 2023 13:58:11 +0100 Message-Id: <20230108125811.17967-8-anton@khirnov.net> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230108125811.17967-1-anton@khirnov.net> References: <20230108125811.17967-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 8/8] lavfi/graphparser: drop a redundant label X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: cdEXOtAcWXSm --- libavfilter/graphparser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index c8b0af5aba..0759c39014 100644 --- a/libavfilter/graphparser.c +++ b/libavfilter/graphparser.c @@ -421,7 +421,7 @@ int avfilter_graph_parse2(AVFilterGraph *graph, const char *filters, filters += strspn(filters, WHITESPACES); if ((ret = parse_sws_flags(&filters, graph)) < 0) - goto fail; + goto end; do { AVFilterContext *filter; @@ -463,7 +463,7 @@ int avfilter_graph_parse2(AVFilterGraph *graph, const char *filters, *outputs = open_outputs; return 0; - fail:end: +end: while (graph->nb_filters) avfilter_free(graph->filters[0]); av_freep(&graph->filters);