mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
3ff4a3d2ec
commit
a0a0a80499
|
@ -362,7 +362,7 @@ fail:
|
||||||
|
|
||||||
static int filter_opt_apply(AVFilterContext *f, const char *key, const char *val)
|
static int filter_opt_apply(AVFilterContext *f, const char *key, const char *val)
|
||||||
{
|
{
|
||||||
const AVOption *o;
|
const AVOption *o = NULL;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = av_opt_set(f, key, val, AV_OPT_SEARCH_CHILDREN);
|
ret = av_opt_set(f, key, val, AV_OPT_SEARCH_CHILDREN);
|
||||||
|
|
Loading…
Reference in New Issue