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

faust3 subversion at mplayerhq.hu
Wed Jun 24 20:01:17 CEST 2009


Author: faust3
Date: Wed Jun 24 20:01:17 2009
New Revision: 4522

Log:
Merge increment by one with previous statement

Modified:
   wmapro/wma3dec.c

Modified: wmapro/wma3dec.c
==============================================================================
--- wmapro/wma3dec.c	Wed Jun 24 19:57:19 2009	(r4521)
+++ wmapro/wma3dec.c	Wed Jun 24 20:01:17 2009	(r4522)
@@ -571,9 +571,8 @@ static int decode_tilehdr(WMA3DecodeCont
                 /* 1 bit indicates if the subframe length is zero */
                 if (subframe_len_zero_bit) {
                     if (get_bits1(&s->gb)) {
-                        log2_subframe_len =
+                        log2_subframe_len = 1 +
                             get_bits(&s->gb,subframe_len_bits-1);
-                        ++log2_subframe_len;
                     }
                 } else
                     log2_subframe_len = get_bits(&s->gb,subframe_len_bits);


More information about the FFmpeg-soc mailing list