[FFmpeg-devel] [PATCH 5/7] avio: avio_ prefix for url_setbufsize

Stefano Sabatini stefano.sabatini-lala
Sun Mar 6 18:18:09 CET 2011


On date Sunday 2011-03-06 18:04:50 +0100, Anton Khirnov encoded:
> ---
>  libavformat/avio.h    |    3 ++-
>  libavformat/aviobuf.c |    8 ++++++--
>  libavformat/utils.c   |    2 +-
>  3 files changed, 9 insertions(+), 4 deletions(-)
> 
> diff --git a/libavformat/avio.h b/libavformat/avio.h
> index 3130102..4a1d948 100644
> --- a/libavformat/avio.h
> +++ b/libavformat/avio.h
> @@ -426,6 +426,7 @@ attribute_deprecated int64_t url_ftell(AVIOContext *s);
>  attribute_deprecated int64_t url_fsize(AVIOContext *s);
>  attribute_deprecated int url_feof(AVIOContext *s);
>  attribute_deprecated int url_ferror(AVIOContext *s);
> +attribute_deprecated int url_setbufsize(AVIOContext *s, int buf_size);
>  /**
>   * @}
>   */
> @@ -592,7 +593,7 @@ static inline int url_is_streamed(AVIOContext *s)
>  int url_fdopen(AVIOContext **s, URLContext *h);
>  
>  /** @warning must be called before any I/O */
> -int url_setbufsize(AVIOContext *s, int buf_size);
> +int avio_setbufsize(AVIOContext *s, int buf_size);

avio_set_buf_size looksmorereadable.
-- 
FFmpeg = Faithful & Fiendish Maxi Philosophical Elastic Game



More information about the ffmpeg-devel mailing list