ffmpeg | branch: master | Vittorio Giovara <[email protected]> | Thu 
Oct 30 00:51:56 2014 +0000| [f52b8717617e94da90a45afdfff23e94f9ecf35c] | 
committer: Vittorio Giovara

celp_filters: don't use filter lenght as loop bound

CC: [email protected]
Bug-Id: CID 717906 / CID 717907 / CID 717916 /
        CID 717917 / CID 717919 / CID 732259

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f52b8717617e94da90a45afdfff23e94f9ecf35c
---

 libavcodec/celp_filters.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/celp_filters.c b/libavcodec/celp_filters.c
index 381ffa4..61474f5 100644
--- a/libavcodec/celp_filters.c
+++ b/libavcodec/celp_filters.c
@@ -133,7 +133,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];
 

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to