summaryrefslogtreecommitdiffstats
path: root/libavcodec/aacdec_fixed.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2016-03-12 19:08:21 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2016-03-13 18:15:57 +0100
commit7c93f2c0b940e07c2a1fd0fb8f7ffc94dcfdb1aa (patch)
tree5e3ae0a4203931fe1af970ebcb1115f1dd2ab452 /libavcodec/aacdec_fixed.c
parent0c33ceda91dd646414a2e0ec832bada5acb6b762 (diff)
downloadffmpeg-streaming-7c93f2c0b940e07c2a1fd0fb8f7ffc94dcfdb1aa.zip
ffmpeg-streaming-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/aacdec_fixed.c b/libavcodec/aacdec_fixed.c
index 396a874..acb8178 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;
}
}
OpenPOWER on IntegriCloud