1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00

avfilter/avfiltergraph: Remove always-true check

Always true since bc1a985ba030e9861d24965d42792850b43a43ea.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2021-09-28 08:41:00 +02:00
parent 0615a39fed
commit e1874cd3c4

View File

@ -154,8 +154,7 @@ int avfilter_graph_create_filter(AVFilterContext **filt_ctx, const AVFilter *fil
return 0;
fail:
if (*filt_ctx)
avfilter_free(*filt_ctx);
avfilter_free(*filt_ctx);
*filt_ctx = NULL;
return ret;
}