fftools/ffmpeg_filter: initialize the 'o' to silence the warning

silence the warning: variable 'o' is used uninitialized whenever
'&&' condition is false

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
pull/389/head
Jun Zhao 2 years ago
parent 3ff4a3d2ec
commit a0a0a80499
  1. 2
      fftools/ffmpeg_filter.c

@ -362,7 +362,7 @@ fail:
static int filter_opt_apply(AVFilterContext *f, const char *key, const char *val)
{
const AVOption *o;
const AVOption *o = NULL;
int ret;
ret = av_opt_set(f, key, val, AV_OPT_SEARCH_CHILDREN);

Loading…
Cancel
Save