Browse Source

avconv: remove pointless always true condition

Anton Khirnov 13 years ago
parent
commit
515901fad2
1 changed files with 1 additions and 2 deletions
  1. 1 2
      avconv.c

+ 1 - 2
avconv.c

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