OSDN Git Service

ffmpeg: fix passlogfile with multiple libx264 streams.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 11 Feb 2012 03:18:22 +0000 (04:18 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 11 Feb 2012 23:03:26 +0000 (00:03 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c

index 7d00577..22f8fa9 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -4864,7 +4864,7 @@ static int opt_passlogfile(const char *opt, const char *arg)
 {
     pass_logfilename_prefix = arg;
 #if CONFIG_LIBX264_ENCODER
-    return opt_default("passlogfile", arg);
+    return opt_default(opt, arg);
 #else
     return 0;
 #endif