lavfi/vf_overlay: fix unitialized pointers

Missed in commit 301c2784b3.

Found-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
This commit is contained in:
Ganesh Ajjanagadde 2015-12-10 07:52:19 -05:00
parent 45938f0301
commit 08a96708a5

View File

@ -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) {