summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 7d00577630..22f8fa9ca1 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -4864,7 +4864,7 @@ static int opt_passlogfile(const char *opt, const char *arg)
{
pass_logfilename_prefix = arg;
#if CONFIG_LIBX264_ENCODER
- return opt_default("passlogfile", arg);
+ return opt_default(opt, arg);
#else
return 0;
#endif