[FFmpeg-devel] [PATCH 1/2] avio: make get_partial_buffer internal.

Reinhard Tartler siretart
Mon Feb 21 20:33:01 CET 2011


On Mon, Feb 21, 2011 at 19:28:16 (CET), Anton Khirnov wrote:

> ---
>  libavformat/avio.h          |    9 +--------
>  libavformat/avio_internal.h |    8 ++++++++
>  libavformat/aviobuf.c       |    6 +++++-
>  libavformat/rawdec.c        |    3 ++-
>  4 files changed, 16 insertions(+), 10 deletions(-)
>
> diff --git a/libavformat/avio.h b/libavformat/avio.h
> index fa71d20..43d94db 100644
> --- a/libavformat/avio.h
> +++ b/libavformat/avio.h
> @@ -385,6 +385,7 @@ attribute_deprecated AVIOContext *av_alloc_put_byte(
>   * @{
>   */
>  attribute_deprecated int          get_buffer(AVIOContext *s, unsigned char *buf, int size);
> +attribute_deprecated int          get_partial_buffer(AVIOContext *s, unsigned char *buf, int size);
>  attribute_deprecated int          get_byte(AVIOContext *s);
>  attribute_deprecated unsigned int get_le16(AVIOContext *s);
>  attribute_deprecated unsigned int get_le24(AVIOContext *s);

No objection, but I think (potential) libavformat users would appreciate
a (doxygen?) comment what they should use instead of this API.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4




More information about the ffmpeg-devel mailing list