ffmpeg | branch: master | Ganesh Ajjanagadde <[email protected]> | Thu Dec 
10 07:52:19 2015 -0500| [08a96708a504cc305eb4d8b98020e76a36b8cdab] | committer: 
Ganesh Ajjanagadde

lavfi/vf_overlay: fix unitialized pointers

Missed in commit 301c2784b35036945cd9a7049808deecce149916.

Found-by: Paul B Mahol <[email protected]>
Signed-off-by: Ganesh Ajjanagadde <[email protected]>

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

 libavfilter/vf_overlay.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c
index 502fde0..7457820 100644
--- a/libavfilter/vf_overlay.c
+++ b/libavfilter/vf_overlay.c
@@ -245,8 +245,8 @@ static int query_formats(AVFilterContext *ctx)
         AV_PIX_FMT_NONE
     };
 
-    AVFilterFormats *main_formats;
-    AVFilterFormats *overlay_formats;
+    AVFilterFormats *main_formats = NULL;
+    AVFilterFormats *overlay_formats = NULL;
     int ret;
 
     switch (s->format) {

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to