From: Baptiste Coudurier Date: Mon, 28 Jan 2008 13:19:49 +0000 (+0000) Subject: reorder object types id by muxing preference X-Git-Tag: v0.5~6320 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=efc9e44da6e1c57d183eb47850f32ec762e22bde;p=platform%2Fupstream%2Flibav.git reorder object types id by muxing preference Originally committed as revision 11648 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavformat/isom.c b/libavformat/isom.c index 5a67aec..5421875 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -26,12 +26,13 @@ #include "isom.h" /* http://www.mp4ra.org */ +/* ordered by muxing preference */ const AVCodecTag ff_mp4_obj_type[] = { { CODEC_ID_MPEG4 , 32 }, { CODEC_ID_H264 , 33 }, { CODEC_ID_AAC , 64 }, - { CODEC_ID_MPEG2VIDEO, 96 }, /* MPEG2 Simple */ { CODEC_ID_MPEG2VIDEO, 97 }, /* MPEG2 Main */ + { CODEC_ID_MPEG2VIDEO, 96 }, /* MPEG2 Simple */ { CODEC_ID_MPEG2VIDEO, 98 }, /* MPEG2 SNR */ { CODEC_ID_MPEG2VIDEO, 99 }, /* MPEG2 Spatial */ { CODEC_ID_MPEG2VIDEO, 100 }, /* MPEG2 High */ @@ -39,9 +40,9 @@ const AVCodecTag ff_mp4_obj_type[] = { { CODEC_ID_AAC , 102 }, /* MPEG2 AAC Main */ { CODEC_ID_AAC , 103 }, /* MPEG2 AAC Low */ { CODEC_ID_AAC , 104 }, /* MPEG2 AAC SSR */ + { CODEC_ID_MP3 , 107 }, /* 11172-3 */ { CODEC_ID_MP3 , 105 }, /* 13818-3 */ { CODEC_ID_MPEG1VIDEO, 106 }, /* 11172-2 */ - { CODEC_ID_MP3 , 107 }, /* 11172-3 */ { CODEC_ID_MJPEG , 108 }, /* 10918-1 */ { CODEC_ID_PNG , 109 }, { CODEC_ID_JPEG2000 , 110 }, /* 15444-1 */