[ExtractAudio] Fix conversion to wav

Closes #1645
This commit is contained in:
pukkandan 2021-11-13 15:11:33 +05:30
parent 92775d8a40
commit 39c04074e7
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698

View file

@ -403,10 +403,7 @@ def _quality_args(self, codec):
'aac': (0.1, 4),
'vorbis': (0, 10),
'libfdk_aac': (1, 5),
'opus': None, # doesn't support -q:a
'wav': None,
'flac': None,
}[codec]
}.get(codec)
if not limits:
return []