Commit 10678e5c authored by Alex Converse's avatar Alex Converse

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
parent 19a00c5e
...@@ -174,7 +174,7 @@ static void sbr_make_f_tablelim(SpectralBandReplication *sbr) ...@@ -174,7 +174,7 @@ static void sbr_make_f_tablelim(SpectralBandReplication *sbr)
1.18509277094158210129f, //2^(0.49/2) 1.18509277094158210129f, //2^(0.49/2)
1.11987160404675912501f }; //2^(0.49/3) 1.11987160404675912501f }; //2^(0.49/3)
const float lim_bands_per_octave_warped = bands_warped[sbr->bs_limiter_bands - 1]; 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; uint16_t *in = sbr->f_tablelim + 1, *out = sbr->f_tablelim;
patch_borders[0] = sbr->kx[1]; patch_borders[0] = sbr->kx[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