diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-21 19:28:16 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-22 02:44:37 +0100 |
commit | d4e321d9c2f52f77e06ca48c3ddf71f8d4219f7b (patch) | |
tree | c2355a75796e9cbc2ffa0dcf095bd4a4d0a16071 /libavformat/avio.h | |
parent | e63a362857d9807b23e65872598d782fa53bb6af (diff) | |
download | ffmpeg-d4e321d9c2f52f77e06ca48c3ddf71f8d4219f7b.tar.gz |
avio: make get_partial_buffer internal.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit b3db9ceef13037f2b6963a84b7abf8871a1e0f8a)
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index fa71d20d59..43d94db790 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); @@ -498,14 +499,6 @@ void put_flush_packet(AVIOContext *s); */ int avio_read(AVIOContext *s, unsigned char *buf, int size); -/** - * Read size bytes from AVIOContext into buf. - * This reads at most 1 packet. If that is not enough fewer bytes will be - * returned. - * @return number of bytes read or AVERROR - */ -int get_partial_buffer(AVIOContext *s, unsigned char *buf, int size); - /** @note return 0 if EOF, so you cannot use it if EOF handling is necessary */ int avio_r8 (AVIOContext *s); |