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

alexc subversion at mplayerhq.hu
Mon Nov 30 20:12:12 CET 2009


Author: alexc
Date: Mon Nov 30 20:12:11 2009
New Revision: 5473

Log:
Change array_min_int to array_min_int16.

Modified:
   aac-sbr/aacsbr.c

Modified: aac-sbr/aacsbr.c
==============================================================================
--- aac-sbr/aacsbr.c	Sun Nov 29 19:14:47 2009	(r5472)
+++ aac-sbr/aacsbr.c	Mon Nov 30 20:12:11 2009	(r5473)
@@ -124,7 +124,7 @@ static unsigned int sbr_header(SpectralB
     return get_bits_count(gb) - cnt;
 }
 
-static int array_min_int(int *array, int nel)
+static int array_min_int16(int16_t *array, int nel)
 {
     int i, min = array[0];
     for (i = 1; i < nel; i++)
@@ -295,7 +295,7 @@ static int sbr_make_f_master(AACContext 
                              lroundf(sbr->k[1] * powf(sbr->k[2] / (float)sbr->k[1],  k      / (float)num_bands_1));
             }
 
-            vdk1_min = array_min_int(vk1 + 1, num_bands_1);
+            vdk1_min = array_min_int16(vk1 + 1, num_bands_1);
 
             if (vdk1_min < vdk0_max) {
                 int change;


More information about the FFmpeg-soc mailing list