aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-09-27 08:21:48 +0200
committerAnton Khirnov <anton@khirnov.net>2011-10-09 17:15:18 +0200
commit515901fad2ee0f2429d6b457bb4e4f6a5fd98028 (patch)
treedea9af55d129ba35bc30e17dd935aba2a8f17ce8
parent11fdb7e197f0cb8016df9668fc2050bee25e4955 (diff)
avconv: remove pointless always true condition
-rw-r--r--avconv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/avconv.c b/avconv.c
index 058c0ee3b5..d2cb69f0bb 100644
--- a/avconv.c
+++ b/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;