1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-01 08:49:59 +02:00

ffmpeg: fix return value in opt_old2new after e3127db4.

This commit is contained in:
Clément Bœsch 2012-01-13 18:56:59 +01:00
parent 369befb41e
commit ad12d60d73

View File

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