[FFmpeg-devel] [PATCH] Document url_close()

Stefano Sabatini stefano.sabatini-lala
Sun Jan 24 17:14:18 CET 2010


Hi, as title suggests.

Note that most protocols just return 0, but the file one may also
return -1 in case of error (the return value of close()).

Maybe would be even better to query the error condition with errno,
and return the corresponding AVERROR code instead of just -1.

Regards.
-- 
FFmpeg = Fostering and Friendly MultiPurpose Experimenting Generator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: avio-document-url-close.patch
Type: text/x-diff
Size: 598 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100124/c90c9808/attachment.patch>



More information about the ffmpeg-devel mailing list