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

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


Author: faust3
Date: Thu Jun 11 10:00:05 2009
New Revision: 4411

Log:
simplified subframe_len calculation

Modified:
   wmapro/wma3dec.c

Modified: wmapro/wma3dec.c
==============================================================================
--- wmapro/wma3dec.c	Thu Jun 11 09:54:00 2009	(r4410)
+++ wmapro/wma3dec.c	Thu Jun 11 10:00:05 2009	(r4411)
@@ -313,7 +313,7 @@ static av_cold int wma_decode_init(AVCod
     sfb_offsets = s->sfb_offsets;
 
     for (i=0;i<s->num_possible_block_sizes;i++) {
-        int subframe_len = s->samples_per_frame / (1 << i);
+        int subframe_len = s->samples_per_frame >> i;
         int x;
         int band = 1;
 


More information about the FFmpeg-soc mailing list