avconv: remove pointless always true condition

This commit is contained in:
Anton Khirnov 2011-09-27 08:21:48 +02:00
parent 11fdb7e197
commit 515901fad2
1 changed files with 1 additions and 2 deletions

View File

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