aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/aacsbr.c
diff options
context:
space:
mode:
authorAlex Converse2010-04-30 22:42:52 +0000
committerAlex Converse2010-04-30 22:42:52 +0000
commit10678e5c728f3b7c4c8d4aa95df07421da3e14a9 (patch)
treecf3b1fce48692fe13c5bdca68486518a27a6e168 /libavcodec/aacsbr.c
parent19a00c5eb20ad831d3b3284f7bec966e432f7b0a (diff)
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
Diffstat (limited to 'libavcodec/aacsbr.c')
-rw-r--r--libavcodec/aacsbr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacsbr.c b/libavcodec/aacsbr.c
index ce85697544..ec6f9151b0 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];