[FFmpeg-cvslog] ffmpeg: fix return value in opt_old2new after e3127db4.

Clément Bœsch git at videolan.org
Fri Jan 13 18:57:30 CET 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Fri Jan 13 18:56:59 2012 +0100| [ad12d60d731d7ed23192eff6113db015434c1e24] | committer: Clément Bœsch

ffmpeg: fix return value in opt_old2new after e3127db4.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ad12d60d731d7ed23192eff6113db015434c1e24
---

 ffmpeg.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 47c56cb..42047db 100644
--- a/ffmpeg.c
+++ b/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)



More information about the ffmpeg-cvslog mailing list