ffmpeg: fix passlogfile with multiple libx264 streams.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-02-11 04:18:22 +01:00
parent 07dbea7033
commit 85f25cfa19
1 changed files with 1 additions and 1 deletions

View File

@ -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