mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-19 22:01:00 +00:00
ffmpeg: fix return value in opt_old2new after e3127db4
.
This commit is contained in:
parent
369befb41e
commit
ad12d60d73
3
ffmpeg.c
3
ffmpeg.c
@ -4867,8 +4867,9 @@ static int opt_passlogfile(const char *opt, const char *arg)
|
||||
static int opt_old2new(OptionsContext *o, const char *opt, const char *arg)
|
||||
{
|
||||
char *s = av_asprintf("%s:%c", opt + 1, *opt);
|
||||
parse_option(o, s, arg, options);
|
||||
int ret = parse_option(o, s, arg, options);
|
||||
av_free(s);
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int opt_bitrate(OptionsContext *o, const char *opt, const char *arg)
|
||||
|
Loading…
Reference in New Issue
Block a user