[FFmpeg-soc] [soc]: r5469 - aac-sbr/aacsbr.c

alexc subversion at mplayerhq.hu
Sat Nov 28 03:31:18 CET 2009


Author: alexc
Date: Sat Nov 28 03:31:18 2009
New Revision: 5469

Log:
Prevent a size mismatch when copying from patch_borders to f_tablelim.

Modified:
   aac-sbr/aacsbr.c

Modified: aac-sbr/aacsbr.c
==============================================================================
--- aac-sbr/aacsbr.c	Sat Nov 28 03:31:16 2009	(r5468)
+++ aac-sbr/aacsbr.c	Sat Nov 28 03:31:18 2009	(r5469)
@@ -458,7 +458,7 @@ static int sbr_make_f_derived(AACContext
     // Limiter Frequency Band Table (14496-3 sp04 p198)
     if (sbr->bs_limiter_bands > 0) {
         const float lim_bands_per_octave[3] = {1.2, 2, 3};
-        int patch_borders[sbr->num_patches + 1];
+        int16_t patch_borders[sbr->num_patches + 1];
 
         patch_borders[0] = sbr->k[3];
         for (k=1; k <= sbr->num_patches; k++)


More information about the FFmpeg-soc mailing list