shithub: opus

Download patch

ref: 084a5cc626e18e63019860b0b58208bb42df79c9
parent: b6a5f9d38fff366968bd6421b61920bfb6d9659d
author: Jean-Marc Valin <[email protected]>
date: Tue Jul 6 14:58:19 EDT 2010

fixes an int vs celt_int32 mismatch

--- a/libcelt/bands.c
+++ b/libcelt/bands.c
@@ -886,7 +886,8 @@
 
 void quant_all_bands(int encode, const CELTMode *m, int start, celt_norm *_X, celt_norm *_Y, const celt_ener *bandE, int *pulses, int shortBlocks, int fold, int *tf_res, int resynth, int total_bits, void *ec, int LM)
 {
-   int i, remaining_bits, balance;
+   int i, balance;
+   celt_int32 remaining_bits;
    const celt_int16 * restrict eBands = m->eBands;
    celt_norm * restrict norm;
    VARDECL(celt_norm, _norm);