ffmpeg: fix passlogfile regression n0.7.2
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 28 Jul 2011 16:32:26 +0000 (18:32 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 28 Jul 2011 16:33:07 +0000 (18:33 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 2ff36ef521a551b99ea69dda0aa82dc9fa49a131)

ffmpeg.c

index 3a1a150..857e022 100644 (file)
--- 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[] = {