[FFmpeg-cvslog] ffmpeg: fix passlogfile regression

Michael Niedermayer git at videolan.org
Wed Sep 7 15:16:22 CEST 2011


ffmpeg | branch: release/0.7 | Michael Niedermayer <michaelni at gmx.at> | Thu Jul 28 18:32:26 2011 +0200| [2ff36ef521a551b99ea69dda0aa82dc9fa49a131] | committer: Michael Niedermayer

ffmpeg: fix passlogfile regression

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/ffmpeg.c b/ffmpeg.c
index a00d94e..18ee782 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -4381,7 +4381,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[] = {



More information about the ffmpeg-cvslog mailing list