[MPlayer-dev-eng] [PATCH] FPE with -nosound on Alpha

joy joy at pingfm.org
Sun Jun 30 03:45:01 CEST 2002


On Fri, Jun 28, 2002 at 08:11:47PM +0200, Falk Hueffner wrote:
> Hi,
> 
> if I activate -nosound on Alpha, I get a floating point exception in
> mplayer.c:
> 
> 1567      float delay=audio_out->get_delay()*0.5;
> 
> because the get_delay() method of the default audio codec still gets
> called, but it is not initialized properly. I guess on i386 this just
> yields 0.0 or something, or somebody would have noticed already...
> 
> This patch helps, but I'm not sure whether it !sh_audio is the correct
> method to detect -nosound...

sh_sound is right i think, i also detected it today cause alsa9
crashes too on this point. don't know how the other audio-drivers
manage this, but it makes no sense to me to call audio after it is 
unitialized.

-- 
regards

____-
joy

________/\---------%%%___________-----------
webcast every sunday 2000 cest at pingfm.org

pgp key at: x-hkp://wwwkeys.de.pgp.net



More information about the MPlayer-dev-eng mailing list