[FFmpeg-devel] [PATCH] avio: deprecate url_feof

Michael Niedermayer michaelni
Mon Mar 7 23:22:14 CET 2011


On Mon, Mar 07, 2011 at 09:50:25PM +0100, Anton Khirnov wrote:

> AVIOContext.eof_reached should be used directly instead.

If you are at eof, and some other process (wget?) appends to the file
url_feof() could return 0 again. with direct access this is harder


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110307/651dc3c7/attachment.pgp>



More information about the ffmpeg-devel mailing list