[FFmpeg-cvslog] ffplay: always free inputs and outputs in configure_filtergraph

Marton Balint git at videolan.org
Thu Nov 1 22:15:36 CET 2012


ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Sun Oct 28 01:19:34 2012 +0200| [abd49a75240f71a3a8c6281c4838a6de42ae930b] | committer: Marton Balint

ffplay: always free inputs and outputs in configure_filtergraph

Fixes Coverity CID 733791.

Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=abd49a75240f71a3a8c6281c4838a6de42ae930b
---

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



More information about the ffmpeg-cvslog mailing list