mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-06 15:21:15 +00:00
celp_filters: don't use filter lenght as loop bound
CC: libav-stable@libav.org Bug-Id: CID 717906 / CID 717907 / CID 717916 / CID 717917 / CID 717919 / CID 732259
This commit is contained in:
parent
c442190a6b
commit
f52b871761
@ -133,7 +133,7 @@ void ff_celp_lp_synthesis_filterf(float *out, const float *filter_coeffs,
|
|||||||
out2 -= val * old_out2;
|
out2 -= val * old_out2;
|
||||||
out3 -= val * old_out3;
|
out3 -= val * old_out3;
|
||||||
|
|
||||||
for (i = 5; i <= filter_length; i += 2) {
|
for (i = 5; i < filter_length; i += 2) {
|
||||||
old_out3 = out[-i];
|
old_out3 = out[-i];
|
||||||
val = filter_coeffs[i-1];
|
val = filter_coeffs[i-1];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user