changeset 11670:53584d5f86b8 libavcodec

Increase size of patch_borders[]. 6 patches means there can be 7 borders. Found by Chromium.
author alexc
date Fri, 30 Apr 2010 22:42:52 +0000
parents bd1701d38721
children 7f301b81b503
files aacsbr.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/aacsbr.c	Fri Apr 30 22:09:42 2010 +0000
+++ b/aacsbr.c	Fri Apr 30 22:42:52 2010 +0000
@@ -174,7 +174,7 @@
                                                1.18509277094158210129f,   //2^(0.49/2)
                                                1.11987160404675912501f }; //2^(0.49/3)
         const float lim_bands_per_octave_warped = bands_warped[sbr->bs_limiter_bands - 1];
-        int16_t patch_borders[5];
+        int16_t patch_borders[7];
         uint16_t *in = sbr->f_tablelim + 1, *out = sbr->f_tablelim;
 
         patch_borders[0] = sbr->kx[1];