Commit 08a96708 authored by Ganesh Ajjanagadde's avatar Ganesh Ajjanagadde

lavfi/vf_overlay: fix unitialized pointers

Missed in commit 301c2784.
Found-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
parent 45938f03
...@@ -245,8 +245,8 @@ static int query_formats(AVFilterContext *ctx) ...@@ -245,8 +245,8 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_NONE AV_PIX_FMT_NONE
}; };
AVFilterFormats *main_formats; AVFilterFormats *main_formats = NULL;
AVFilterFormats *overlay_formats; AVFilterFormats *overlay_formats = NULL;
int ret; int ret;
switch (s->format) { switch (s->format) {
......
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