diff options
-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; |