summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-02-11 04:18:22 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-02-12 00:03:26 +0100
commit85f25cfa193f03277787f6f5cdf222e1d01d4821 (patch)
tree7324f7a9cf66334ff21bae37d9c86937ec109ded /ffmpeg.c
parent07dbea70335ee57f097f7ddb8b0456b606f77df6 (diff)
ffmpeg: fix passlogfile with multiple libx264 streams.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 7d00577630..22f8fa9ca1 100644
--- 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