changeset 5038:db3908414396 libavformat

Add ".mp2" as a fourcc for mp2 audio in MOV. Fixes a problematic MOV file.
author darkshikari
date Tue, 16 Jun 2009 23:50:02 +0000
parents 3550a49d6255
children d35f30da9724
files isom.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/isom.c	Tue Jun 16 23:14:59 2009 +0000
+++ b/isom.c	Tue Jun 16 23:50:02 2009 +0000
@@ -195,6 +195,8 @@
     { 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 */