diff options
author | Alex Converse <alex.converse@gmail.com> | 2009-03-19 18:13:42 +0000 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2009-03-19 18:13:42 +0000 |
commit | 5c3d507f1a9aff13d93fc851a477ddbb2511bf6f (patch) | |
tree | b48262c7501880647e9cf24a2ea3015ea8aa4627 /libavformat | |
parent | 9326d3f355f94eb9cb7dabe9ed28a426a7424263 (diff) | |
download | ffmpeg-5c3d507f1a9aff13d93fc851a477ddbb2511bf6f.tar.gz |
MOV: Use the AOT enum for the mp4_audio_types mapping.
Originally committed as revision 18044 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index bb0c035ca6..4621fc8a29 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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) |