aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-01-08 12:51:42 +0100
committerAnton Khirnov <anton@khirnov.net>2023-01-10 11:52:02 +0100
commit54c0e72b42ad38b0ee5ca9c69873df17e4c51d6f (patch)
tree096703335d8b312b2ea620d3b5eb4661006cc0c6
parentca67a783abc098653fb00a731f8cf5682aa614df (diff)
downloadffmpeg-54c0e72b42ad38b0ee5ca9c69873df17e4c51d6f.tar.gz
lavfi/graphparser: drop a redundant label
-rw-r--r--libavfilter/graphparser.c4
1 files 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);