ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | 
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 <[email protected]>

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

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to