From b46f18e5d2e25d301b9e63e14ba4a877429be8e5 Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Tue, 16 Jun 2009 23:50:02 +0000 Subject: [PATCH] Add ".mp2" as a fourcc for mp2 audio in MOV. Fixes a problematic MOV file. Originally committed as revision 19211 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/isom.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/isom.c b/libavformat/isom.c index 34f69aa8d3..0e040c4546 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -195,6 +195,8 @@ const AVCodecTag codec_movaudio_tags[] = { { CODEC_ID_MACE3, MKTAG('M', 'A', 'C', '3') }, /* Macintosh Audio Compression and Expansion 3:1 */ { CODEC_ID_MACE6, MKTAG('M', 'A', 'C', '6') }, /* Macintosh Audio Compression and Expansion 6:1 */ + { CODEC_ID_MP2, MKTAG('.', 'm', 'p', '2') }, /* MPEG layer 2 */ + { CODEC_ID_MP3, MKTAG('.', 'm', 'p', '3') }, /* MPEG layer 3 */ /* sample files at http://www.3ivx.com/showcase.html use this tag */ { CODEC_ID_MP3, 0x6D730055 }, /* MPEG layer 3 */