ref: 8f466274d3bfc1e14503fef02be1a5ffc6ed6d64
parent: c2b34412113a56eefc602782dd59482c083c3173
author: Jean-Marc Valin <[email protected]>
date: Mon Oct 28 17:50:10 EDT 2013
Removes a float var that shouldn't have been there Defining FIXED_POINT and DISABLE_FLOAT_API now leaves no float instruction
--- a/celt/celt_encoder.c
+++ b/celt/celt_encoder.c
@@ -1613,7 +1613,7 @@
if (!st->lfe)
{
opus_val16 follow=-QCONST16(10.0f,DB_SHIFT);
- float frame_avg=0;
+ opus_val32 frame_avg=0;
opus_val16 offset = shortBlocks?HALF16(SHL16(LM, DB_SHIFT)):0;
for(i=st->start;i<st->end;i++)
{