[FFmpeg-devel] [PATCH] Document url_fdopen()
Reimar Döffinger
Reimar.Doeffinger
Sat Jan 30 21:28:53 CET 2010
On Sat, Jan 30, 2010 at 09:08:55PM +0100, Stefano Sabatini wrote:
> +/**
> + * Creates and initializes a ByteIOContext for accessing the
> + * resource referenced by the URLContext h.
> + * In case of success puts the pointer to the created ByteIOContext in
> + * *s, otherwise sets *s to NULL.
Maybe make that paragraph into an @param s
> + * @note When the URLContext h has been opened in read+write mode, the
> + * ByteIOContext can be used only for writing.
Ah, now it makes sense :-)
> + * @return 0 in case of success, a negative value corresponding to an
> + * AVERROR code in case of failure
Seems a bit verbose, but I have no really good suggestion.
Looks ok to me otherwise.
More information about the ffmpeg-devel
mailing list