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

Stefano Sabatini stefano.sabatini-lala
Sat Jan 30 13:25:25 CET 2010


On date Saturday 2010-01-23 18:37:45 +0100, Stefano Sabatini encoded:
> On date Sunday 2009-05-24 18:10:12 +0200, Stefano Sabatini encoded:
> > Hi, as in subject.
> 
> Updated.
> -- 
> FFmpeg = Faithful and Freak Miracolous Purposeless Embarassing God

> Index: ffmpeg/libavformat/avio.h
> ===================================================================
> --- ffmpeg.orig/libavformat/avio.h	2010-01-23 18:35:03.000000000 +0100
> +++ ffmpeg/libavformat/avio.h	2010-01-23 18:36:32.000000000 +0100
> @@ -381,8 +381,19 @@
>  int url_resetbuf(ByteIOContext *s, int flags);
>  #endif
>  
> -/** @note when opened as read/write, the buffers are only used for
> -    writing */
> +/**
> + * Creates and initializes a ByteIOContext for accessing to the
> + * resource indicated by url, and opens it.
> + * @note When opened as read/write, the buffers are only used for
> + * writing.
> + *
> + * @param s pointer of the location where, in case of success, the
> + * function puts the pointer to the created ByteIOContext
> + * @param flags flags which control how the resource indicated by url
> + * is to be opened
> + * @return 0 in case of success, a negative value corresponding to an
> + * AVERROR code in case of failure
> + */
>  int url_fopen(ByteIOContext **s, const char *url, int flags);
>  int url_fclose(ByteIOContext *s);
>  URLContext *url_fileno(ByteIOContext *s);

Ping.
-- 
FFmpeg = Fundamental and Foolish Mysterious Proud Explosive Goblin



More information about the ffmpeg-devel mailing list