diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-11-27 21:19:07 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-27 21:19:07 +0100 |
commit | 1b1223872df87953d8025947f3e317c938da9bcc (patch) | |
tree | cacef511402388de98a6d0537f5af7dd8eee0df3 | |
parent | 6d13499be04a610b6ce4c445eac768244ee04d64 (diff) | |
download | ffmpeg-1b1223872df87953d8025947f3e317c938da9bcc.tar.gz |
aacenc: add AAC_CODER_NB
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/aaccoder.c | 2 | ||||
-rw-r--r-- | libavcodec/aacenc.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/aaccoder.c b/libavcodec/aaccoder.c index 31d3b23d24..d6750a2454 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 150c651665..8dcf27d6a9 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; |