aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_overlay.c
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-12-10 07:52:19 -0500
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-12-10 07:53:47 -0500
commit08a96708a504cc305eb4d8b98020e76a36b8cdab (patch)
treebf30d373046e823c7358e4362f9b87036b8fb417 /libavfilter/vf_overlay.c
parent45938f0301a8be7ce3ba4a28a7df656ec398f6b8 (diff)
downloadffmpeg-08a96708a504cc305eb4d8b98020e76a36b8cdab.tar.gz
lavfi/vf_overlay: fix unitialized pointers
Missed in commit 301c2784b35036945cd9a7049808deecce149916. Found-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libavfilter/vf_overlay.c')
-rw-r--r--libavfilter/vf_overlay.c4
1 files 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) {