mp3: add .mpa extension
authorVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 9 Sep 2013 14:30:35 +0000 (16:30 +0200)
committerDiego Biurrun <diego@biurrun.de>
Thu, 12 Sep 2013 11:16:15 +0000 (13:16 +0200)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavformat/mp3dec.c
libavformat/mp3enc.c

index 14edc4a..5c263ed 100644 (file)
@@ -282,5 +282,5 @@ AVInputFormat ff_mp3_demuxer = {
     .read_seek      = mp3_seek,
     .priv_data_size = sizeof(MP3DecContext),
     .flags          = AVFMT_GENERIC_INDEX,
-    .extensions     = "mp2,mp3,m2a", /* XXX: use probe */
+    .extensions     = "mp2,mp3,m2a,mpa", /* XXX: use probe */
 };
index 4d7c798..574a3b2 100644 (file)
@@ -306,7 +306,7 @@ AVOutputFormat ff_mp2_muxer = {
     .name              = "mp2",
     .long_name         = NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"),
     .mime_type         = "audio/x-mpeg",
-    .extensions        = "mp2,m2a",
+    .extensions        = "mp2,m2a,mpa",
     .audio_codec       = AV_CODEC_ID_MP2,
     .video_codec       = AV_CODEC_ID_NONE,
     .write_packet      = ff_raw_write_packet,