From: Philipp Hagemeister Date: Wed, 21 Sep 2011 16:49:08 +0000 (+0200) Subject: Simplify test X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=efb113c736cda1300f4c30ba8b130fbe79dd1277;p=youtube-dl Simplify test --- diff --git a/youtube-dl b/youtube-dl index 0e7f5d6eb..2b08fab74 100755 --- a/youtube-dl +++ b/youtube-dl @@ -3351,7 +3351,7 @@ class FFmpegExtractAudioPP(PostProcessor): more_opts = [] if self._preferredcodec == 'best' or self._preferredcodec == filecodec: - if filecodec == 'aac' or filecodec == 'mp3' or filecodec == 'vorbis': + if filecodec in ['aac', 'mp3', 'vorbis']: # Lossless if possible acodec = 'copy' extension = filecodec