[FFmpeg-cvslog] r22998 - trunk/libavcodec/aacsbr.c

alexc subversion
Sat May 1 00:42:52 CEST 2010


Author: alexc
Date: Sat May  1 00:42:52 2010
New Revision: 22998

Log:
Increase size of patch_borders[].

6 patches means there can be 7 borders. Found by Chromium.

Modified:
   trunk/libavcodec/aacsbr.c

Modified: trunk/libavcodec/aacsbr.c
==============================================================================
--- trunk/libavcodec/aacsbr.c	Sat May  1 00:09:42 2010	(r22997)
+++ trunk/libavcodec/aacsbr.c	Sat May  1 00:42:52 2010	(r22998)
@@ -174,7 +174,7 @@ static void sbr_make_f_tablelim(Spectral
                                                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];



More information about the ffmpeg-cvslog mailing list