[FFmpeg-cvslog] avfilter/avfiltergraph: Remove always-true check
Andreas Rheinhardt
git at videolan.org
Sat Oct 2 17:59:13 EEST 2021
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Tue Sep 28 08:41:00 2021 +0200| [e1874cd3c41753451827c23b6803648f37e196e8] | committer: Andreas Rheinhardt
avfilter/avfiltergraph: Remove always-true check
Always true since bc1a985ba030e9861d24965d42792850b43a43ea.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e1874cd3c41753451827c23b6803648f37e196e8
---
libavfilter/avfiltergraph.c | 3 +--
1 file changed, 1 insertion(+), 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;
}
More information about the ffmpeg-cvslog
mailing list