Mercurial > libavformat.hg
changeset 286:eccf0c3e3289 libavformat
Using the extension m4a for audio only MPEG-4 files is increasingly
common, especially since Apple iTunes treats files with the two
extensions differently. Without the patch, FFmpeg won't know that m4a
is for MPEG-4 files
patch by (Dan Christiansen <danchr at daimi dot au dot dk>)
author | michael |
---|---|
date | Sun, 19 Oct 2003 20:57:47 +0000 |
parents | 31cd17d77178 |
children | 0b3ec5cba845 |
files | mov.c movenc.c |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Sat Oct 18 18:47:06 2003 +0000 +++ b/mov.c Sun Oct 19 20:57:47 2003 +0000 @@ -120,7 +120,7 @@ { CODEC_ID_MP2, 0x5500736D }, /* MPEG layer 3 *//* XXX: check endianness */ /* { CODEC_ID_OGG_VORBIS, MKTAG('O', 'g', 'g', 'S') }, *//* sample files at http://heroinewarrior.com/xmovie.php3 use this tag */ /* MP4 tags */ - { CODEC_ID_AAC, MKTAG('m', 'p', '4', 'a') }, /* MPEG 4 AAC or audio ? */ + { CODEC_ID_MPEG4AAC, MKTAG('m', 'p', '4', 'a') }, /* MPEG-4 AAC */ /* The standard for mpeg4 audio is still not normalised AFAIK anyway */ { CODEC_ID_AMR_NB, MKTAG('s', 'a', 'm', 'r') }, /* AMR-NB 3gp */ { CODEC_ID_AMR_WB, MKTAG('s', 'a', 'w', 'b') }, /* AMR-WB 3gp */ @@ -1658,7 +1658,7 @@ } static AVInputFormat mov_iformat = { - "mov", + "mov,mp4,m4a,3gp", "QuickTime/MPEG4 format", sizeof(MOVContext), mov_probe,