Make LCG 16-bit clean
This commit is contained in:
parent
08ef1f4c6c
commit
75f99bc51a
1 changed files with 1 additions and 1 deletions
|
@ -875,7 +875,7 @@ static void quant_band(int encode, const CELTMode *m, int i, celt_norm *X, celt_
|
|||
for (j=0;j<N;j++)
|
||||
{
|
||||
*seed = lcg_rand(*seed);
|
||||
X[j] = (int)(*seed)>>20;
|
||||
X[j] = (celt_int32)(*seed)>>20;
|
||||
}
|
||||
} else {
|
||||
/* Folded spectrum */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue