[FFmpeg-devel] [PATCH 3/4] avio: add url_set_nonblock

Anton Khirnov anton
Fri Feb 18 19:18:23 CET 2011


On Fri, Feb 18, 2011 at 06:59:22PM +0100, Nicolas George wrote:
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  libavformat/avio.c |   13 +++++++++++++
>  libavformat/avio.h |    7 +++++++
>  2 files changed, 20 insertions(+), 0 deletions(-)
> 
> diff --git a/libavformat/avio.h b/libavformat/avio.h
> index 2faf5b4..1509e10 100644
> --- a/libavformat/avio.h
> +++ b/libavformat/avio.h
> @@ -249,6 +249,12 @@ void url_get_filename(URLContext *h, char *buf, int buf_size);
>   */
>  void url_set_interrupt_cb(URLInterruptCB *interrupt_cb);
>  
> +/**
> + * Set the non-blocking flag
> + * @return 0 on success; no error currently possible
> + */
> +int url_set_nonblock(URLContext *h, int nonblock);
> +

Please add an av_ prefix to it.

The same will be done to the rest of avio Soon(tm).

-- 
Anton Khirnov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110218/311f2d7b/attachment.pgp>



More information about the ffmpeg-devel mailing list