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;
}
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc