Stop uselessly calling haar1() when resynth=0
This was computing on uninitialized data (though the result was never used)
This commit is contained in:
parent
568326bfe2
commit
ad3d813f01
3 changed files with 7 additions and 7 deletions
|
@ -52,7 +52,7 @@
|
|||
* @param enc Entropy encoder state
|
||||
* @ret A mask indicating which blocks in the band received pulses
|
||||
*/
|
||||
unsigned alg_quant(celt_norm *X, int N, int K, int spread, int B, celt_norm *lowband,
|
||||
unsigned alg_quant(celt_norm *X, int N, int K, int spread, int B,
|
||||
int resynth, ec_enc *enc, celt_word16 gain);
|
||||
|
||||
/** Algebraic pulse decoder
|
||||
|
@ -64,7 +64,7 @@ unsigned alg_quant(celt_norm *X, int N, int K, int spread, int B, celt_norm *low
|
|||
* @ret A mask indicating which blocks in the band received pulses
|
||||
*/
|
||||
unsigned alg_unquant(celt_norm *X, int N, int K, int spread, int B,
|
||||
celt_norm *lowband, ec_dec *dec, celt_word16 gain);
|
||||
ec_dec *dec, celt_word16 gain);
|
||||
|
||||
void renormalise_vector(celt_norm *X, int N, celt_word16 gain);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue