ffmpeg: fix passlogfile regression
(cherry picked from commit 3e26abcd88a04e4a50c471988973591d848d4936)
This commit is contained in:
4
ffmpeg.c
4
ffmpeg.c
@@ -4380,7 +4380,11 @@ static void log_callback_null(void* ptr, int level, const char* fmt, va_list vl)
|
|||||||
static int opt_passlogfile(const char *opt, const char *arg)
|
static int opt_passlogfile(const char *opt, const char *arg)
|
||||||
{
|
{
|
||||||
pass_logfilename_prefix = arg;
|
pass_logfilename_prefix = arg;
|
||||||
|
#if CONFIG_LIBX264_ENCODER
|
||||||
return opt_default("passlogfile", arg);
|
return opt_default("passlogfile", arg);
|
||||||
|
#else
|
||||||
|
return 0;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static const OptionDef options[] = {
|
static const OptionDef options[] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user