[FFmpeg-soc] [soc]: r2517 - aac/aac.c

superdump subversion at mplayerhq.hu
Sat Jun 21 16:42:18 CEST 2008


Author: superdump
Date: Sat Jun 21 16:42:18 2008
New Revision: 2517

Log:
Whitespace to aid readability


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Sat Jun 21 16:42:18 2008
@@ -1071,15 +1071,19 @@ static void decode_tns_data(AACContext *
     int w, filt, i, coef_len, coef_res = 0, coef_compress;
     for (w = 0; w < ics->num_windows; w++) {
         tns->n_filt[w] = get_bits(gb, ics->window_sequence == EIGHT_SHORT_SEQUENCE ? 1 : 2);
+
         if (tns->n_filt[w])
             coef_res = get_bits1(gb) + 3;
+
         for (filt = 0; filt < tns->n_filt[w]; filt++) {
             tns->length[w][filt] = get_bits(gb, ics->window_sequence == EIGHT_SHORT_SEQUENCE ? 4 : 6);
+
             if ((tns->order[w][filt] = get_bits(gb, ics->window_sequence == EIGHT_SHORT_SEQUENCE ? 3 : 5))) {
                 tns->direction[w][filt] = get_bits1(gb);
                 coef_compress = get_bits1(gb);
                 coef_len = coef_res - coef_compress;
                 tns->tmp2_map[w][filt] = tns_tmp2_map[2*coef_compress + coef_res - 3];
+
                 for (i = 0; i < tns->order[w][filt]; i++)
                     tns->coef[w][filt][i] = get_bits(gb, coef_len);
             }



More information about the FFmpeg-soc mailing list