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

Michael Niedermayer michaelni
Sat Jan 30 13:29:55 CET 2010


On Sat, Jan 30, 2010 at 01:24:17PM +0100, Stefano Sabatini wrote:
> On date Saturday 2010-01-23 18:35:55 +0100, Stefano Sabatini encoded:
> > On date Sunday 2009-05-24 18:09:17 +0200, Stefano Sabatini encoded:
> > > As in subject.
> > 
> > Updated.
> > -- 
> > FFmpeg = Foolish and Faithless Mastodontic Philosofic Evangelical Gospel
> 
> > Index: ffmpeg/libavformat/avio.h
> > ===================================================================
> > --- ffmpeg.orig/libavformat/avio.h	2010-01-23 18:32:51.000000000 +0100
> > +++ ffmpeg/libavformat/avio.h	2010-01-23 18:35:03.000000000 +0100
> > @@ -358,8 +358,17 @@
> >      return s->is_streamed;
> >  }
> >  
> > -/** @note when opened as read/write, the buffers are only used for
> > -    writing */
> > +/**
> > + * Creates and initializes a ByteIOContext for accessing to the
> > + * resource accessed by the url context h.
> > + * @note When opened as read/write, the buffers are only used for
> > + * writing.
> > + *
> > + * @param s pointer to the location where, in case of success, the
> > + * function puts the pointer to the created ByteIOContext
> > + * @return 0 in case of success, a negative value corresponding to an
> > + * AVERROR code in case of failure
> > + */
> >  int url_fdopen(ByteIOContext **s, URLContext *h);
> >  
> >  /** @warning must be called before any I/O */
> 
> Ping.

If someone else wants to review / crosscheck these against the code /
make sure that it docs intended api and not implemetation details
thats welcome

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

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- 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/20100130/194aa148/attachment.pgp>



More information about the ffmpeg-devel mailing list