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

faust3 subversion at mplayerhq.hu
Mon Mar 2 21:07:15 CET 2009


Author: faust3
Date: Mon Mar  2 21:07:15 2009
New Revision: 4148

Log:
always decode block_align bytes

Modified:
   wmapro/wma3dec.c

Modified: wmapro/wma3dec.c
==============================================================================
--- wmapro/wma3dec.c	Mon Mar  2 20:53:23 2009	(r4147)
+++ wmapro/wma3dec.c	Mon Mar  2 21:07:15 2009	(r4148)
@@ -1552,6 +1552,8 @@ static int wma3_decode_packet(AVCodecCon
     if(buf_size < avctx->block_align)
         return 0;
 
+    buf_size = avctx->block_align;
+
     /** parse packet header */
     init_get_bits(&gb, buf, s->buf_bit_size);
     packet_sequence_number    = get_bits(&gb, 4);



More information about the FFmpeg-soc mailing list