shithub: opus

Download patch

ref: 257ab3767427bcd87eb82e4408a698412769d406
parent: c3147ed5db515281daf1ec506bdbe0be3c2585b7
author: Jean-Marc Valin <[email protected]>
date: Fri Nov 27 21:35:21 EST 2015

Oops, fixes max_decay for LFE in fixed-point

--- a/celt/quant_bands.c
+++ b/celt/quant_bands.c
@@ -292,7 +292,7 @@
 #endif
    }
    if (lfe)
-      max_decay=3;
+      max_decay = QCONST16(3.f,DB_SHIFT);
    enc_start_state = *enc;
 
    ALLOC(oldEBands_intra, C*m->nbEBands, opus_val16);