[FFmpeg-cvslog] avfilter/avfilter: fix use of uninitialized pointer

Michael Niedermayer git at videolan.org
Fri Jan 24 04:22:33 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jan 24 04:14:52 2014 +0100| [41003da94a59cd014d05b3dd1d33a5f9ecf3ccda] | committer: Michael Niedermayer

avfilter/avfilter: fix use of uninitialized pointer

Fixes CID1163852
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavfilter/avfilter.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index f9f6d6c..46f81f2 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -999,7 +999,7 @@ static int ff_filter_frame_framed(AVFilterLink *link, AVFrame *frame)
     int (*filter_frame)(AVFilterLink *, AVFrame *);
     AVFilterContext *dstctx = link->dst;
     AVFilterPad *dst = link->dstpad;
-    AVFrame *out;
+    AVFrame *out = NULL;
     int ret;
     AVFilterCommand *cmd= link->dst->command_queue;
     int64_t pts;



More information about the ffmpeg-cvslog mailing list