[FFmpeg-cvslog] aacenc: add AAC_CODER_NB
Michael Niedermayer
git at videolan.org
Sun Nov 27 21:37:17 CET 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Nov 27 21:19:07 2011 +0100| [1b1223872df87953d8025947f3e317c938da9bcc] | committer: Michael Niedermayer
aacenc: add AAC_CODER_NB
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1b1223872df87953d8025947f3e317c938da9bcc
---
libavcodec/aaccoder.c | 2 +-
libavcodec/aacenc.h | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/libavcodec/aaccoder.c b/libavcodec/aaccoder.c
index 31d3b23..d6750a2 100644
--- a/libavcodec/aaccoder.c
+++ b/libavcodec/aaccoder.c
@@ -1112,7 +1112,7 @@ static void search_for_ms(AACEncContext *s, ChannelElement *cpe,
}
}
-AACCoefficientsEncoder ff_aac_coders[] = {
+AACCoefficientsEncoder ff_aac_coders[AAC_CODER_NB] = {
{
search_for_quantizers_faac,
encode_window_bands_info,
diff --git a/libavcodec/aacenc.h b/libavcodec/aacenc.h
index 150c651..8dcf27d 100644
--- a/libavcodec/aacenc.h
+++ b/libavcodec/aacenc.h
@@ -30,6 +30,8 @@
#include "psymodel.h"
+#define AAC_CODER_NB 4
+
typedef struct AACEncOptions {
int stereo_mode;
} AACEncOptions;
More information about the ffmpeg-cvslog
mailing list