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

alexc subversion at mplayerhq.hu
Fri Nov 27 00:32:55 CET 2009


Author: alexc
Date: Fri Nov 27 00:32:55 2009
New Revision: 5463

Log:
Remove a superfluous increment. k should be set to the first index of f_master
that is >= goal_sb. The final increment of the loop where the condition fails
takes care of that.

Modified:
   aac-sbr/aacsbr.c

Modified: aac-sbr/aacsbr.c
==============================================================================
--- aac-sbr/aacsbr.c	Thu Nov 26 22:52:59 2009	(r5462)
+++ aac-sbr/aacsbr.c	Fri Nov 27 00:32:55 2009	(r5463)
@@ -351,7 +351,6 @@ static int sbr_hf_calc_npatches(AACConte
 
     if (goal_sb < sbr->k[3] + sbr->m) {
         for (k = 0; sbr->f_master[k] < goal_sb; k++);
-        k++;
     } else
         k = sbr->n_master;
 


More information about the FFmpeg-soc mailing list