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

Stefano Sabatini stefano.sabatini-lala
Sun Jan 24 17:33:43 CET 2010


On date Sunday 2010-01-24 17:19:04 +0100, Michael Niedermayer encoded:
> 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

Applied.
-- 
FFmpeg = Fundamentalist Friendly Most Picky Elitarian Genius



More information about the ffmpeg-devel mailing list