[FFmpeg-soc] [soc]: r4412 - wmapro/wma3dec.c

faust3 subversion at mplayerhq.hu
Thu Jun 11 10:05:32 CEST 2009


Author: faust3
Date: Thu Jun 11 10:05:31 2009
New Revision: 4412

Log:
use brackets for the if branch to improve readability

Modified:
   wmapro/wma3dec.c

Modified: wmapro/wma3dec.c
==============================================================================
--- wmapro/wma3dec.c	Thu Jun 11 10:00:05 2009	(r4411)
+++ wmapro/wma3dec.c	Thu Jun 11 10:05:31 2009	(r4412)
@@ -441,9 +441,9 @@ static int wma_decode_tilehdr(WMA3Decode
         fixed_channel_layout = get_bits1(&s->gb);
 
         /** calculate subframe len bits */
-        if (s->lossless)
+        if (s->lossless) {
             subframe_len_bits = av_log2(s->max_num_subframes - 1) + 1;
-        else if (s->max_num_subframes == 16) {
+        }else if (s->max_num_subframes == 16) {
             subframe_len_zero_bit = 1;
             subframe_len_bits = 3;
         }else


More information about the FFmpeg-soc mailing list