]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
MOV: Use the AOT enum for the mp4_audio_types mapping.
authoralexc <alexc@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Thu, 19 Mar 2009 18:13:42 +0000 (18:13 +0000)
committeralexc <alexc@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Thu, 19 Mar 2009 18:13:42 +0000 (18:13 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18044 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/mov.c

index bb0c035ca64389cda72cceff1796513d015c6890..4621fc8a29c4ae46305b89ef0cb22824a32e89a5 100644 (file)
@@ -380,11 +380,11 @@ static int mp4_read_descr(MOVContext *c, ByteIOContext *pb, int *tag)
 #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)