summaryrefslogtreecommitdiff
path: root/libavformat/mp3.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mp3.c')
-rw-r--r--libavformat/mp3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/mp3.c b/libavformat/mp3.c
index ddc27dea6f..f86d976eb8 100644
--- a/libavformat/mp3.c
+++ b/libavformat/mp3.c
@@ -350,7 +350,7 @@ AVInputFormat mp3_iformat = {
mp3_read_header,
mp3_read_packet,
mp3_read_close,
- .extensions = "mp2,mp3", /* XXX: use probe */
+ .extensions = "mp2,mp3,m2a", /* XXX: use probe */
};
#ifdef CONFIG_ENCODERS
@@ -359,9 +359,9 @@ AVOutputFormat mp2_oformat = {
"MPEG audio layer 2",
"audio/x-mpeg",
#ifdef CONFIG_MP3LAME
- "mp2",
+ "mp2,m2a",
#else
- "mp2,mp3",
+ "mp2,mp3,m2a",
#endif
0,
CODEC_ID_MP2,