[FFmpeg-soc] [soc]: r4472 - aacenc/aaccoder.c

alexc subversion at mplayerhq.hu
Thu Jun 18 05:51:25 CEST 2009


Author: alexc
Date: Thu Jun 18 05:51:25 2009
New Revision: 4472

Log:
Fix USE_REALLY_FULL_SEARCH after the last commit

Modified:
   aacenc/aaccoder.c

Modified: aacenc/aaccoder.c
==============================================================================
--- aacenc/aaccoder.c	Thu Jun 18 05:24:45 2009	(r4471)
+++ aacenc/aaccoder.c	Thu Jun 18 05:51:25 2009	(r4472)
@@ -117,8 +117,8 @@ static float quantize_band_cost(struct A
     offs[0] = 1;
     for(i = 1; i < dim; i++)
         offs[i] = offs[i-1]*range;
-#endif /* USE_REALLY_FULL_SEARCH */
     quantize_bands(s->qcoefs, in, size, Q, !IS_CODEBOOK_UNSIGNED(cb), maxval);
+#endif /* USE_REALLY_FULL_SEARCH */
     for(i = 0; i < size; i += dim){
         float mincost;
         int minidx = 0;
@@ -228,8 +228,8 @@ static void quantize_and_encode_band(str
     offs[0] = 1;
     for(i = 1; i < dim; i++)
         offs[i] = offs[i-1]*range;
-#endif /* USE_REALLY_FULL_SEARCH */
     quantize_bands(s->qcoefs, in, size, Q, !IS_CODEBOOK_UNSIGNED(cb), maxval);
+#endif /* USE_REALLY_FULL_SEARCH */
     for(i = 0; i < size; i += dim){
         float mincost;
         int minidx = 0;


More information about the FFmpeg-soc mailing list