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
1 changed files with 1 additions and 2 deletions

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