diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-01-13 18:56:59 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-01-13 18:57:05 +0100 |
commit | ad12d60d731d7ed23192eff6113db015434c1e24 (patch) | |
tree | ce0a085c436e2904db981bed1b375416fd7b49fc /ffmpeg.c | |
parent | 369befb41ea998c83e2cf872d996ed7534656398 (diff) | |
download | ffmpeg-ad12d60d731d7ed23192eff6113db015434c1e24.tar.gz |
ffmpeg: fix return value in opt_old2new after e3127db4.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |