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

faust3 subversion at mplayerhq.hu
Mon Mar 2 20:44:12 CET 2009


Author: faust3
Date: Mon Mar  2 20:44:12 2009
New Revision: 4146

Log:
len_prefix should be boolean

Modified:
   wmapro/wma3dec.c

Modified: wmapro/wma3dec.c
==============================================================================
--- wmapro/wma3dec.c	Mon Mar  2 20:38:19 2009	(r4145)
+++ wmapro/wma3dec.c	Mon Mar  2 20:44:12 2009	(r4146)
@@ -172,7 +172,7 @@ static av_cold int wma3_decode_init(AVCo
     /** frame info */
     s->skip_frame = 1; /** skip first frame */
     s->packet_loss = 1;
-    s->len_prefix = s->decode_flags & 0x40;
+    s->len_prefix = (s->decode_flags & 0x40) >> 6;
 
     if(!s->len_prefix){
          av_log(avctx, AV_LOG_ERROR, "file has no length prefix, please report\n");



More information about the FFmpeg-soc mailing list