1
0
Fork 0
forked from len0rd/rockbox

AAC decoder: Remove suspicious use of the REAL_CONST macro. I don't know what triggers the execution of this code, but this change stops some floating point math code from being linked. It looks like the right thing to do...

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16590 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Magnus Holmgren 2008-03-09 12:36:30 +00:00
parent 885283c424
commit ae00bd69d6

View file

@ -687,7 +687,7 @@ restart:
nOctaves = REAL_CONST(log((float)limTable[k]/(float)limTable[k-1])/log(2.0));
#else
#ifdef FIXED_POINT
nOctaves = DIV_R((limTable[k]<<REAL_BITS),REAL_CONST(limTable[k-1]));
nOctaves = DIV_R((limTable[k]<<REAL_BITS),limTable[k-1]);
#else
nOctaves = (real_t)limTable[k]/(real_t)limTable[k-1];
#endif