]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_stereo3d.c
Revert "avutil/timecode: fix sscanf format string with garbage at the end"
[ffmpeg] / libavfilter / vf_stereo3d.c
index 5cbee393d84dc671571da6c267bc19403db71236..ff17b07c3d5b6a9bb2a9bca6b9b2bcb14423fbbe 100644 (file)
@@ -672,7 +672,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpicref)
     AVFilterContext *ctx  = inlink->dst;
     Stereo3DContext *s = ctx->priv;
     AVFilterLink *outlink = ctx->outputs[0];
-    AVFrame *out, *oleft, *oright, *ileft, *iright;
+    AVFrame *out = NULL, *oleft, *oright, *ileft, *iright;
     int out_off_left[4], out_off_right[4];
     int i, ret;
 
@@ -1082,6 +1082,7 @@ copy:
         av_frame_free(&s->prev);
         av_frame_free(&inpicref);
     }
+    av_assert0(out);
     out->sample_aspect_ratio = s->aspect;
     return ff_filter_frame(outlink, out);
 }