Skip to content

A feature-rich command-line audio/video downloader

[utils] `mimetype2ext`: Recognize `aacp` as `aac` (#10860)

bashonlycc85596d5b59
diff --git a/yt_dlp/utils/_utils.py b/yt_dlp/utils/_utils.py
index 0d3e707c58..04dd0f8d2c 100644
--- a/yt_dlp/utils/_utils.py
+++ b/yt_dlp/utils/_utils.py
@@ -2919,6 +2919,7 @@ def mimetype2ext(mt, default=NO_DEFAULT):
'audio/webm': 'webm',
'audio/x-matroska': 'mka',
'audio/x-mpegurl': 'm3u',
+ 'aacp': 'aac',
'midi': 'mid',
'ogg': 'ogg',
'wav': 'wav',