summaryrefslogtreecommitdiffstats
path: root/libtoolame-dab/psycho_3.c
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-10-04 19:09:39 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-10-04 19:09:39 +0200
commit085398614ad0326d48eb8bfe402e0f4044bf0230 (patch)
tree1174ec154b22ad352043daaa27f9517732f9372e /libtoolame-dab/psycho_3.c
parentb68380ba3c00f6db0d60ec5fe9ec72bb230ea7ad (diff)
downloadODR-AudioEnc-085398614ad0326d48eb8bfe402e0f4044bf0230.tar.gz
ODR-AudioEnc-085398614ad0326d48eb8bfe402e0f4044bf0230.tar.bz2
ODR-AudioEnc-085398614ad0326d48eb8bfe402e0f4044bf0230.zip
Enable compilation warnings, and switch toolame-dab to using double
Diffstat (limited to 'libtoolame-dab/psycho_3.c')
-rw-r--r--libtoolame-dab/psycho_3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtoolame-dab/psycho_3.c b/libtoolame-dab/psycho_3.c
index 3dbd462..c623b7f 100644
--- a/libtoolame-dab/psycho_3.c
+++ b/libtoolame-dab/psycho_3.c
@@ -454,7 +454,7 @@ void psycho_3_init(options *glopts) {
by 1.0 of a bark, start a new critical band. */
numlines = (int *)calloc(HBLKSIZE, sizeof(int));
- cbval = (float *)calloc(HBLKSIZE, sizeof(float));
+ cbval = (FLOAT*)calloc(HBLKSIZE, sizeof(FLOAT));
cbandindex[0] = 1;
for (i=1;i<HBLKSIZE;i++) {
if ((bark[i] - bark[cbase]) > 1.0) { /* 1 critical band? 1 bark? */