From: Alex Converse Date: Fri, 30 Apr 2010 22:42:52 +0000 (+0000) Subject: Increase size of patch_borders[]. X-Git-Tag: v0.6~126 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10678e5c728f3b7c4c8d4aa95df07421da3e14a9;p=platform%2Fupstream%2Flibav.git Increase size of patch_borders[]. 6 patches means there can be 7 borders. Found by Chromium. Originally committed as revision 22998 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/aacsbr.c b/libavcodec/aacsbr.c index ce85697..ec6f915 100644 --- a/libavcodec/aacsbr.c +++ b/libavcodec/aacsbr.c @@ -174,7 +174,7 @@ static void sbr_make_f_tablelim(SpectralBandReplication *sbr) 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];