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

Falk Hueffner falk.hueffner at student.uni-tuebingen.de
Fri Jun 28 20:11:47 CEST 2002


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...

-- 
	Falk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: nosound-delay.patch
Type: text/x-patch
Size: 581 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020628/fdc6c5cf/attachment.bin>


More information about the MPlayer-dev-eng mailing list