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

Ronald S. Bultje rsbultje
Mon Feb 21 20:42:42 CET 2011


Hi,

On Mon, Feb 21, 2011 at 2:33 PM, Reinhard Tartler <siretart at tauware.de> wrote:
> 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.

We'll add that to doc/APIchanges once all done.

Ronald



More information about the ffmpeg-devel mailing list