[FFmpeg-cvslog] r18044 - trunk/libavformat/mov.c

alexc subversion
Thu Mar 19 19:13:43 CET 2009


Author: alexc
Date: Thu Mar 19 19:13:42 2009
New Revision: 18044

Log:
MOV: Use the AOT enum for the mp4_audio_types mapping.

Modified:
   trunk/libavformat/mov.c

Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c	Thu Mar 19 15:49:47 2009	(r18043)
+++ trunk/libavformat/mov.c	Thu Mar 19 19:13:42 2009	(r18044)
@@ -380,11 +380,11 @@ static int mp4_read_descr(MOVContext *c,
 #define MP4DecSpecificDescrTag          0x05
 
 static const AVCodecTag mp4_audio_types[] = {
-    { CODEC_ID_MP3ON4, 29 }, /* old mp3on4 draft */
-    { CODEC_ID_MP3ON4, 32 }, /* layer 1 */
-    { CODEC_ID_MP3ON4, 33 }, /* layer 2 */
-    { CODEC_ID_MP3ON4, 34 }, /* layer 3 */
-    { CODEC_ID_NONE,    0 },
+    { CODEC_ID_MP3ON4, AOT_PS   }, /* old mp3on4 draft */
+    { CODEC_ID_MP3ON4, AOT_L1   }, /* layer 1 */
+    { CODEC_ID_MP3ON4, AOT_L2   }, /* layer 2 */
+    { CODEC_ID_MP3ON4, AOT_L3   }, /* layer 3 */
+    { CODEC_ID_NONE,   AOT_NULL },
 };
 
 static int mov_read_esds(MOVContext *c, ByteIOContext *pb, MOVAtom atom)




More information about the ffmpeg-cvslog mailing list