Browse Source

mp3: add .mpa extension

Signed-off-by: Diego Biurrun <diego@biurrun.de>
tags/n2.1
Vittorio Giovara Diego Biurrun 11 years ago
parent
commit
c0779a67e8
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libavformat/mp3dec.c
  2. +1
    -1
      libavformat/mp3enc.c

+ 1
- 1
libavformat/mp3dec.c View 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 */
};

+ 1
- 1
libavformat/mp3enc.c View 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,


Loading…
Cancel
Save