1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

avfilter/avfiltergraph: Remove always-true check

Always true since bc1a985ba0.

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;
}