Browse Source

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>
tags/n3.0
Ganesh Ajjanagadde 9 years ago
parent
commit
08a96708a5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavfilter/vf_overlay.c

+ 2
- 2
libavfilter/vf_overlay.c View File

@@ -245,8 +245,8 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_NONE AV_PIX_FMT_NONE
}; };


AVFilterFormats *main_formats;
AVFilterFormats *overlay_formats;
AVFilterFormats *main_formats = NULL;
AVFilterFormats *overlay_formats = NULL;
int ret; int ret;


switch (s->format) { switch (s->format) {


Loading…
Cancel
Save