[MPlayer-users] Crash when playing mkv with vorbis audio
cbreak
cbreak at the-color-black.net
Mon Jul 14 17:55:33 CEST 2008
On 14.07.2008, at 17:31, Ray Kohler wrote:
> 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.
Interesting, I should probably read the mail archives :)
And thanks for the patch.
>
> 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;
>
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
More information about the MPlayer-users
mailing list