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

Michael Niedermayer michaelni
Sun Jan 24 17:19:04 CET 2010


On Sun, Jan 24, 2010 at 05:14:18PM +0100, Stefano Sabatini wrote:
> 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

>  avio.h |    7 +++++++
>  1 file changed, 7 insertions(+)
> c8fb2a6264183271e948fe506e08b83ae7f220ac  avio-document-url-close.patch

ok

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

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100124/075b2db9/attachment.pgp>



More information about the ffmpeg-devel mailing list