[MPlayer-dev-eng] WMA MAX_CODED_SUPERFRAME_SIZE too small

Rich Felker dalias at aerifal.cx
Mon Jun 27 18:15:20 CEST 2005


On Mon, Jun 27, 2005 at 04:36:33PM +0100, Mark Weaver wrote:
> I have a few WMA file examples where there are superframes >4K.  (These 
> files were created with WMP 10, but playback ok with WMP 9/10).  I have 
> placed a short sample at http://www.blushingpenguin.com/mark/test.wma 
> that exhibits the glitch.  I chopped the file off at 128K but there is 
> enough there to show the problem.
> 
> On playback these frames are simply dropped causing audio glitches. 
> During testing I have seen frames of about 8,900 bytes.  The resolution 
> is pretty straightforward -- just increasing the 
> MAX_CODED_SUPERFRAME_SIZE fixes it.  I picked 16K, but there's no real 
> rationale behind that.
> 
> The code is in libavcodec/wmadec.c, patch is simply:

Please send to ffmpeg-devel list. This code is in ffmpeg, not mplayer,
and the right people might or might not see it if it's only here.

Rich




More information about the MPlayer-dev-eng mailing list