diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-29 21:51:59 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-04 02:11:53 +0100 |
commit | 4ed0fea0fa6189a69f549f4c40a6b51c155ef584 (patch) | |
tree | e64d1cad8bbf347016c49141004ded31827874c7 /libavcodec/aacenc_tns.c | |
parent | b9dea251d5ef29c44e9216dd23930d3695a34919 (diff) | |
download | ffmpeg-4ed0fea0fa6189a69f549f4c40a6b51c155ef584.tar.gz |
avcodec/aactab: Deduplicate ltp_coef and tns_tmp2_map tables
This will allow to make aac_defines.h decoder-only.
Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/aacenc_tns.c')
-rw-r--r-- | libavcodec/aacenc_tns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacenc_tns.c b/libavcodec/aacenc_tns.c index b2418a0236..60888fece7 100644 --- a/libavcodec/aacenc_tns.c +++ b/libavcodec/aacenc_tns.c @@ -148,7 +148,7 @@ static inline void quantize_coefs(double *coef, int *idx, float *lpc, int order, int c_bits) { int i; - const float *quant_arr = tns_tmp2_map[c_bits]; + const float *quant_arr = ff_tns_tmp2_map[c_bits]; for (i = 0; i < order; i++) { idx[i] = quant_array_idx(coef[i], quant_arr, c_bits ? 16 : 8); lpc[i] = quant_arr[idx[i]]; |