[MPlayer-dev-eng] [PATCH] make demuxer_get_percent_pos() recheck file length

Scott W. Larson scowl at pacifier.com
Sun Oct 2 04:50:11 CEST 2005


Rich Felker wrote:

>I have a feeling this could break horribly with non-file streams...
>
>Rich
>  
>
Here's a safer patch. If the lseek to current position fails then it 
knows it's not reading from a file and skips all of the new code.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dynamic_get_percent.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20051001/1830ae03/attachment.txt>


More information about the MPlayer-dev-eng mailing list