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>
This commit is contained in:
Jun Zhao 2023-02-25 21:54:00 +08:00
parent 3ff4a3d2ec
commit a0a0a80499
1 changed files with 1 additions and 1 deletions

View File

@ -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);