From b24bbbb4da4ee8950a876ce6706aa3a03236fdd9 Mon Sep 17 00:00:00 2001 From: Jai Menon Date: Fri, 17 Apr 2009 19:17:14 +0000 Subject: [PATCH] Introduce codec id for MPEG-4 ALS and associate it with corresponding AudioObjectType. Also bump libavcodec minor version. Originally committed as revision 18591 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/avcodec.h | 3 ++- libavformat/mov.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 50c70d6..05027ba 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -30,7 +30,7 @@ #include "libavutil/avutil.h" #define LIBAVCODEC_VERSION_MAJOR 52 -#define LIBAVCODEC_VERSION_MINOR 25 +#define LIBAVCODEC_VERSION_MINOR 26 #define LIBAVCODEC_VERSION_MICRO 0 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ @@ -313,6 +313,7 @@ enum CodecID { CODEC_ID_MP1, CODEC_ID_TWINVQ, CODEC_ID_TRUEHD, + CODEC_ID_MP4ALS, /* subtitle codecs */ CODEC_ID_DVD_SUBTITLE= 0x17000, diff --git a/libavformat/mov.c b/libavformat/mov.c index 175c2c2..f68e7ae 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -384,6 +384,7 @@ static const AVCodecTag mp4_audio_types[] = { { CODEC_ID_MP3ON4, AOT_L1 }, /* layer 1 */ { CODEC_ID_MP3ON4, AOT_L2 }, /* layer 2 */ { CODEC_ID_MP3ON4, AOT_L3 }, /* layer 3 */ + { CODEC_ID_MP4ALS, AOT_ALS }, /* MPEG-4 ALS */ { CODEC_ID_NONE, AOT_NULL }, }; -- 2.7.4