From 515901fad2ee0f2429d6b457bb4e4f6a5fd98028 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 27 Sep 2011 08:21:48 +0200 Subject: avconv: remove pointless always true condition --- avconv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'avconv.c') 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; -- cgit v1.2.3