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

faust3 subversion at mplayerhq.hu
Wed Jun 24 21:08:32 CEST 2009


Author: faust3
Date: Wed Jun 24 21:08:32 2009
New Revision: 4525

Log:
no need to multiply * 8 before calling av_log2

Modified:
   wmapro/wma3dec.c

Modified: wmapro/wma3dec.c
==============================================================================
--- wmapro/wma3dec.c	Wed Jun 24 20:55:25 2009	(r4524)
+++ wmapro/wma3dec.c	Wed Jun 24 21:08:32 2009	(r4525)
@@ -286,7 +286,7 @@ static av_cold int decode_init(AVCodecCo
     }
 
     /** generic init */
-    s->log2_frame_size = av_log2(avctx->block_align*8)+1;
+    s->log2_frame_size = av_log2(avctx->block_align) + 4;
 
     /** frame info */
     s->skip_frame = 1; /** skip first frame */


More information about the FFmpeg-soc mailing list