[FFmpeg-soc] [soc]: r5319 - wmapro/wmaprodec.c

faust3 subversion at mplayerhq.hu
Wed Aug 26 21:39:07 CEST 2009


Author: faust3
Date: Wed Aug 26 21:39:07 2009
New Revision: 5319

Log:
reindent

Modified:
   wmapro/wmaprodec.c

Modified: wmapro/wmaprodec.c
==============================================================================
--- wmapro/wmaprodec.c	Wed Aug 26 21:32:12 2009	(r5318)
+++ wmapro/wmaprodec.c	Wed Aug 26 21:39:07 2009	(r5319)
@@ -490,9 +490,9 @@ static int decode_tilehdr(WMA3DecodeCont
         fixed_channel_layout = get_bits1(&s->gb);
 
         /** calculate subframe len bits */
-            if (s->max_num_subframes == 16)
-                subframe_len_zero_bit = 1;
-            subframe_len_bits = av_log2(av_log2(s->max_num_subframes)) + 1;
+        if (s->max_num_subframes == 16)
+            subframe_len_zero_bit = 1;
+        subframe_len_bits = av_log2(av_log2(s->max_num_subframes)) + 1;
 
         /** loop until the frame data is split between the subframes */
         while (missing_samples > 0) {
@@ -549,8 +549,7 @@ static int decode_tilehdr(WMA3DecodeCont
                 } else
                     log2_subframe_len = get_bits(&s->gb, subframe_len_bits);
 
-                    subframe_len =
-                        s->samples_per_frame / (1 << log2_subframe_len);
+                subframe_len = s->samples_per_frame / (1 << log2_subframe_len);
 
                 /** sanity check the length */
                 if (subframe_len < s->min_samples_per_subframe


More information about the FFmpeg-soc mailing list