mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/avfiltergraph: Remove always-true check
Always true since bc1a985ba0
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
0615a39fed
commit
e1874cd3c4
|
@ -154,8 +154,7 @@ int avfilter_graph_create_filter(AVFilterContext **filt_ctx, const AVFilter *fil
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
if (*filt_ctx)
|
avfilter_free(*filt_ctx);
|
||||||
avfilter_free(*filt_ctx);
|
|
||||||
*filt_ctx = NULL;
|
*filt_ctx = NULL;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue