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

faust3 subversion at mplayerhq.hu
Sun Jun 15 17:00:27 CEST 2008


Author: faust3
Date: Sun Jun 15 17:00:27 2008
New Revision: 2457

Log:
report the trailing bit is zero condition

Modified:
   wmapro/wma3dec.c

Modified: wmapro/wma3dec.c
==============================================================================
--- wmapro/wma3dec.c	(original)
+++ wmapro/wma3dec.c	Sun Jun 15 17:00:27 2008
@@ -277,6 +277,10 @@ static int wma3_decode_packet(AVCodecCon
         if(remaining_bits(s) >= frame_size){
             /* decode the frame */
             more_frames = wma_decode_frame(s,&s->gb);
+
+            if(!more_frames){
+                av_log(avctx, AV_LOG_ERROR, "no more frames\n");
+            }
         }else
             more_frames = 0;
     }



More information about the FFmpeg-soc mailing list