aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-07-28 18:32:26 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-07-28 18:33:07 +0200
commitcf82c5cd5b584ae9ee2b2d10fb1c9f0748446071 (patch)
tree4d835a1ce4999d012355f3b1be2b6c5c259ede27
parentcb8577a4dac816f264da294ee354311899b10032 (diff)
downloadffmpeg-n0.7.2.tar.gz
ffmpeg: fix passlogfile regressionn0.7.2
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 2ff36ef521a551b99ea69dda0aa82dc9fa49a131)
-rw-r--r--ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 3a1a150b6c..857e02292e 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -4382,7 +4382,9 @@ static void log_callback_null(void* ptr, int level, const char* fmt, va_list vl)
static void opt_passlogfile(const char *opt, const char *arg)
{
pass_logfilename_prefix = arg;
+#if CONFIG_LIBX264_ENCODER
opt_default("passlogfile", arg);
+#endif
}
static const OptionDef options[] = {