Commit 3f010421 authored by Michael Niedermayer's avatar Michael Niedermayer

ff_celp_lp_synthesis_filterf: change loop end check

This makes no difference for supported input but avoids a
out of array read with input that is never passed in currently

Fixes CID717919
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3f350a48
......@@ -136,7 +136,7 @@ void ff_celp_lp_synthesis_filterf(float *out, const float *filter_coeffs,
out2 -= val * old_out2;
out3 -= val * old_out3;
for (i = 5; i <= filter_length; i += 2) {
for (i = 5; i < filter_length; i += 2) {
old_out3 = out[-i];
val = filter_coeffs[i-1];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment