[FFmpeg-devel] [PATCH 8/8] lavfi/graphparser: drop a redundant label

Anton Khirnov anton at khirnov.net
Sun Jan 8 14:58:11 EET 2023


---
 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);
-- 
2.35.1



More information about the ffmpeg-devel mailing list