Skip to content

Commit

Permalink
fftools/ffmpeg_filter: initialize the 'o' to silence the warning
Browse files Browse the repository at this point in the history
silence the warning: variable 'o' is used uninitialized whenever
'&&' condition is false

Signed-off-by: Jun Zhao <[email protected]>
  • Loading branch information
mypopydev committed Feb 28, 2023
1 parent 3ff4a3d commit a0a0a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fftools/ffmpeg_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ static int read_binary(const char *path, uint8_t **data, int *len)

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);
Expand Down

0 comments on commit a0a0a80

Please sign in to comment.