From 08a96708a504cc305eb4d8b98020e76a36b8cdab Mon Sep 17 00:00:00 2001 From: Ganesh Ajjanagadde Date: Thu, 10 Dec 2015 07:52:19 -0500 Subject: [PATCH] lavfi/vf_overlay: fix unitialized pointers Missed in commit 301c2784b35036945cd9a7049808deecce149916. Found-by: Paul B Mahol Signed-off-by: Ganesh Ajjanagadde --- 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 502fde00b8..7457820526 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) {