avfilter/avfilter: fix use of uninitialized pointer
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 24 Jan 2014 03:14:52 +0000 (04:14 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 24 Jan 2014 03:14:52 +0000 (04:14 +0100)
Fixes CID1163852
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/avfilter.c

index f9f6d6c..46f81f2 100644 (file)
@@ -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;