lavfi/graphparser: drop a redundant label
This commit is contained in:
parent
ca67a783ab
commit
54c0e72b42
@ -421,7 +421,7 @@ int avfilter_graph_parse2(AVFilterGraph *graph, const char *filters,
|
|||||||
filters += strspn(filters, WHITESPACES);
|
filters += strspn(filters, WHITESPACES);
|
||||||
|
|
||||||
if ((ret = parse_sws_flags(&filters, graph)) < 0)
|
if ((ret = parse_sws_flags(&filters, graph)) < 0)
|
||||||
goto fail;
|
goto end;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
AVFilterContext *filter;
|
AVFilterContext *filter;
|
||||||
@ -463,7 +463,7 @@ int avfilter_graph_parse2(AVFilterGraph *graph, const char *filters,
|
|||||||
*outputs = open_outputs;
|
*outputs = open_outputs;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
fail:end:
|
end:
|
||||||
while (graph->nb_filters)
|
while (graph->nb_filters)
|
||||||
avfilter_free(graph->filters[0]);
|
avfilter_free(graph->filters[0]);
|
||||||
av_freep(&graph->filters);
|
av_freep(&graph->filters);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user