[MPlayer-dev-eng] [PATCH] demux_audio: use !finite instead of isinf

D Richard Felker III dalias at aerifal.cx
Wed Sep 15 17:25:23 CEST 2004


On Wed, Sep 15, 2004 at 03:58:01PM +0200, Reimar Döffinger wrote:
> Hi,
> it seems that e.g. on solaris isinf isn't defined. In addition I think 
> that checking !finite makes much more sense as leaving last_pts at NaN 
> doesn't make sense either (no idea if it could have this value, but still).
> If nobody objects I will apply tomorrow.

i don't object, but i'd appreciate it if you could find the real bug
and fix it instead of fixing this hack... with this code, the first
seek is always relative to the beginning of the file rather than the
current position, and that's very wrong...

rich




More information about the MPlayer-dev-eng mailing list