Commit bd3409f5 authored by Ganesh Ajjanagadde's avatar Ganesh Ajjanagadde

lavfi/vf_alphamerge: fix unitialized pointers

Missed in commit 31f0d555.
Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
parent 08a96708
......@@ -57,7 +57,7 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_NONE
};
static const enum AVPixelFormat alpha_fmts[] = { AV_PIX_FMT_GRAY8, AV_PIX_FMT_NONE };
AVFilterFormats *main_formats, *alpha_formats;
AVFilterFormats *main_formats = NULL, *alpha_formats = NULL;
int ret;
if (!(main_formats = ff_make_format_list(main_fmts)) ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment