[FFmpeg-devel] [PATCH 3/8] ffplay: always free inputs and outputs in configure_filtergraph

Marton Balint cus at passwd.hu
Sun Oct 28 02:46:05 CEST 2012


Fixes Coverity CID 733791.

Signed-off-by: Marton Balint <cus at passwd.hu>
---
 ffplay.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffplay.c b/ffplay.c
index 90c18f4..f683149 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1681,7 +1681,7 @@ static int configure_filtergraph(AVFilterGraph *graph, const char *filtergraph,
             goto fail;
     }
 
-    return avfilter_graph_config(graph, NULL);
+    ret = avfilter_graph_config(graph, NULL);
 fail:
     avfilter_inout_free(&outputs);
     avfilter_inout_free(&inputs);
-- 
1.7.10.4



More information about the ffmpeg-devel mailing list