diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-28 08:41:00 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-10-02 16:20:21 +0200 |
commit | e1874cd3c41753451827c23b6803648f37e196e8 (patch) | |
tree | afb673d90e7ee1489ab008477b5741598ef51b5d | |
parent | 0615a39fed74c3d557c54ddb3c646bf98aa6bcf0 (diff) | |
download | ffmpeg-e1874cd3c41753451827c23b6803648f37e196e8.tar.gz |
avfilter/avfiltergraph: Remove always-true check
Always true since bc1a985ba030e9861d24965d42792850b43a43ea.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavfilter/avfiltergraph.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index d1b121cc17..6dcff95ac4 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -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; } |