Skip to content

Commit d507cd5

Browse files
committed
Use correct audio/mp4 type for m4a.
https://www.rfc-editor.org/rfc/rfc4337#section-2 https://www.iana.org/assignments/media-types/audio/mp4 Signed-off-by: Anders Kaseorg <andersk@mit.edu>
1 parent 25b8299 commit d507cd5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Audio
9797
- **aac** - ``audio/aac``
9898
- **mid** - ``audio/midi``
9999
- **mp3** - ``audio/mpeg``
100-
- **m4a** - ``audio/m4a``
100+
- **m4a** - ``audio/mp4``
101101
- **ogg** - ``audio/ogg``
102102
- **flac** - ``audio/x-flac``
103103
- **wav** - ``audio/x-wav``

filetype/types/audio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class M4a(Type):
5656
"""
5757
Implements the M4A audio type matcher.
5858
"""
59-
MIME = 'audio/m4a'
59+
MIME = 'audio/mp4'
6060
EXTENSION = 'm4a'
6161

6262
def __init__(self):

0 commit comments

Comments
 (0)