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

faust3 subversion at mplayerhq.hu
Wed Aug 12 20:59:57 CEST 2009


Author: faust3
Date: Wed Aug 12 20:59:56 2009
New Revision: 5044

Log:
rename log2_num_subframes to log2_max_num_subframes

Modified:
   wmapro/wmaprodec.c

Modified: wmapro/wmaprodec.c
==============================================================================
--- wmapro/wmaprodec.c	Wed Aug 12 20:55:40 2009	(r5043)
+++ wmapro/wmaprodec.c	Wed Aug 12 20:59:56 2009	(r5044)
@@ -265,7 +265,7 @@ static av_cold int decode_init(AVCodecCo
     uint8_t *edata_ptr = avctx->extradata;
     unsigned int channel_mask;
     int i;
-    int log2_num_subframes;
+    int log2_max_num_subframes;
 
     s->avctx = avctx;
     dsputil_init(&s->dsp, avctx);
@@ -308,9 +308,9 @@ static av_cold int decode_init(AVCodecCo
         s->channel[i].prev_block_len = s->samples_per_frame;
 
     /** subframe info */
-    log2_num_subframes           = ((s->decode_flags & 0x38) >> 3);
-    s->max_num_subframes         = 1 << log2_num_subframes;
-    s->num_possible_block_sizes  = log2_num_subframes + 1;
+    log2_max_num_subframes       = ((s->decode_flags & 0x38) >> 3);
+    s->max_num_subframes         = 1 << log2_max_num_subframes;
+    s->num_possible_block_sizes  = log2_max_num_subframes + 1;
     s->min_samples_per_subframe  = s->samples_per_frame / s->max_num_subframes;
     s->dynamic_range_compression = (s->decode_flags & 0x80);
 


More information about the FFmpeg-soc mailing list