diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 897641e428..e4f227f199 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1487,7 +1487,7 @@ def _map_to_format_list(urlmap): if codecs: codecs = codecs.split(',') if len(codecs) == 2: - acodec, vcodec = codecs[0], codecs[1] + acodec, vcodec = codecs[1], codecs[0] else: acodec, vcodec = (codecs[0], 'none') if kind == 'audio' else ('none', codecs[0]) dct.update({