mirror of https://github.com/nothings/stb.git
Compare commits
2 Commits
fed2ee7fc1
...
578ad7681b
Author | SHA1 | Date |
---|---|---|
Alice R | 578ad7681b | |
AliceLR | f37e888b81 |
|
@ -1888,7 +1888,7 @@ static int codebook_decode_deinterleave_repeat(vorb *f, Codebook *c, float **out
|
|||
// buffer (len*ch), our current offset within it (p_inter*ch)+(c_inter),
|
||||
// and the length we'll be using (effective)
|
||||
if (c_inter + p_inter*ch + effective > len * ch) {
|
||||
effective = len*ch - (p_inter*ch - c_inter);
|
||||
effective = len*ch - (p_inter*ch + c_inter);
|
||||
}
|
||||
|
||||
#ifdef STB_VORBIS_DIVIDES_IN_CODEBOOK
|
||||
|
|
Loading…
Reference in New Issue