[MPlayer-users] Crash when playing mkv with vorbis audio

Ray Kohler ataraxia at cmu.edu
Mon Jul 14 17:31:01 CEST 2008


On Jul 14, 2008, at 11:18 AM, cbreak wrote:

> I get a crash when playing movies with ogg vorbis audio. The movies
> played fine with an older version of mplayer.

I reported this a few days ago as well. (See thread "[PATCH] crash in  
libavcodec/i386/dsputil_mmx.c:float_to_int16_sse2".) It's a complex  
problem, and Reimar said he'd look into it. In the meantime, I found a  
little hack (not officially approved) that works around it, if you're  
interested.

Index: mplayer.c
===================================================================
--- mplayer.c	(revision 27279)
+++ mplayer.c	(working copy)
@@ -2023,6 +2023,7 @@
  	// in get_space()
  	ao_data.pts = ((mpctx->sh_video?mpctx->sh_video->timer:0)+mpctx- 
 >delay)*90000.0;
  	bytes_to_write = mpctx->audio_out->get_space();
+	bytes_to_write -= (bytes_to_write % 16);
  	if (mpctx->sh_video || bytes_to_write >= ao_data.outburst)
  	    break;





More information about the MPlayer-users mailing list