diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2016-03-12 19:08:21 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2016-03-13 18:15:57 +0100 |
commit | 7c93f2c0b940e07c2a1fd0fb8f7ffc94dcfdb1aa (patch) | |
tree | 5e3ae0a4203931fe1af970ebcb1115f1dd2ab452 /libavcodec/aacdec_fixed.c | |
parent | 0c33ceda91dd646414a2e0ec832bada5acb6b762 (diff) | |
download | ffmpeg-7c93f2c0b940e07c2a1fd0fb8f7ffc94dcfdb1aa.tar.gz |
Move cbrt tables to separate cbrt_data(_fixed).c files.
Allows sharing and reusing the data between different files.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/aacdec_fixed.c')
-rw-r--r-- | libavcodec/aacdec_fixed.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/aacdec_fixed.c b/libavcodec/aacdec_fixed.c index 396a874d95..acb8178337 100644 --- a/libavcodec/aacdec_fixed.c +++ b/libavcodec/aacdec_fixed.c @@ -75,7 +75,7 @@ #include "aac.h" #include "aactab.h" #include "aacdectab.h" -#include "cbrt_tablegen.h" +#include "cbrt_data.h" #include "sbr.h" #include "aacsbr.h" #include "mpeg4audio.h" @@ -155,9 +155,9 @@ static void vector_pow43(int *coefs, int len) for (i=0; i<len; i++) { coef = coefs[i]; if (coef < 0) - coef = -(int)cbrt_tab[-coef]; + coef = -(int)ff_cbrt_tab_fixed[-coef]; else - coef = (int)cbrt_tab[coef]; + coef = (int)ff_cbrt_tab_fixed[coef]; coefs[i] = coef; } } |