mirror of https://git.ffmpeg.org/ffmpeg.git
lavfi/vf_alphamerge: fix unitialized pointers
Missed in commit 31f0d555e0
.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
This commit is contained in:
parent
08a96708a5
commit
bd3409f52a
|
@ -57,7 +57,7 @@ static int query_formats(AVFilterContext *ctx)
|
||||||
AV_PIX_FMT_NONE
|
AV_PIX_FMT_NONE
|
||||||
};
|
};
|
||||||
static const enum AVPixelFormat alpha_fmts[] = { AV_PIX_FMT_GRAY8, 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;
|
int ret;
|
||||||
|
|
||||||
if (!(main_formats = ff_make_format_list(main_fmts)) ||
|
if (!(main_formats = ff_make_format_list(main_fmts)) ||
|
||||||
|
|
Loading…
Reference in New Issue