提交 515901fa 编写于 作者: A Anton Khirnov

avconv: remove pointless always true condition

上级 11fdb7e1
......@@ -2157,8 +2157,7 @@ static int transcode_init(OutputFile *output_files,
break;
}
/* two pass mode */
if (ost->encoding_needed &&
(codec->flags & (CODEC_FLAG_PASS1 | CODEC_FLAG_PASS2))) {
if ((codec->flags & (CODEC_FLAG_PASS1 | CODEC_FLAG_PASS2))) {
char logfilename[1024];
FILE *f;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册