Browse code

ffmpeg: fix passlogfile regression

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 2ff36ef521a551b99ea69dda0aa82dc9fa49a131)

Michael Niedermayer authored on 2011/07/29 01:32:26
Showing 1 changed files
... ...
@@ -4382,7 +4382,9 @@ static void log_callback_null(void* ptr, int level, const char* fmt, va_list vl)
4382 4382
 static void opt_passlogfile(const char *opt, const char *arg)
4383 4383
 {
4384 4384
     pass_logfilename_prefix = arg;
4385
+#if CONFIG_LIBX264_ENCODER
4385 4386
     opt_default("passlogfile", arg);
4387
+#endif
4386 4388
 }
4387 4389
 
4388 4390
 static const OptionDef options[] = {