aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2013-09-09 16:30:35 +0200
committerDiego Biurrun <diego@biurrun.de>2013-09-12 13:16:15 +0200
commitc0779a67e85df856904ee6fab760c4233d4c2be5 (patch)
tree5e056922e51c0cb41d2f9af992849fc97c4c6019
parente2cd766ca1b9bb2ba72aca5f6ba5d8be15743984 (diff)
downloadffmpeg-c0779a67e85df856904ee6fab760c4233d4c2be5.tar.gz
mp3: add .mpa extension
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-rw-r--r--libavformat/mp3dec.c2
-rw-r--r--libavformat/mp3enc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c
index 14edc4ae8e..5c263edca9 100644
--- a/libavformat/mp3dec.c
+++ b/libavformat/mp3dec.c
@@ -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 */
};
diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c
index 4d7c798c95..574a3b2e95 100644
--- a/libavformat/mp3enc.c
+++ b/libavformat/mp3enc.c
@@ -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,