aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2011-09-21 18:49:08 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2011-09-21 18:49:08 +0200
commitefb113c736cda1300f4c30ba8b130fbe79dd1277 (patch)
tree24fd85648b8b82d5d8c59635c491d30f0f6a2d27
parent3ce59dae886b52c66b33409d659b7ca4e3f77f63 (diff)
Simplify test
-rwxr-xr-xyoutube-dl2
1 files changed, 1 insertions, 1 deletions
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