Message ID | 20230108125811.17967-8-anton@khirnov.net |
---|---|
State | Accepted |
Commit | 54c0e72b42ad38b0ee5ca9c69873df17e4c51d6f |
Headers | show |
Series | [FFmpeg-devel,1/8] lavfi/vf_scale: allow passing options to swscale directly | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
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);