diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-21 20:02:20 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-22 02:44:38 +0100 |
commit | 2df9d0008ee34f99212f8c9820bd858ff8b64642 (patch) | |
tree | 5cc663e6bafeb85495f5c34473bf8e7f2fafcf76 /libavformat/aviobuf.c | |
parent | e9eb8d0bcecd656292856698f603a841a82cc9c6 (diff) | |
download | ffmpeg-2df9d0008ee34f99212f8c9820bd858ff8b64642.tar.gz |
avio: make put_nbyte internal.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 0ac8e2bf2bf3d636241bf2811018d9974687a63c)
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r-- | libavformat/aviobuf.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index 275794deb9..eb48758c46 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -141,7 +141,7 @@ void avio_w8(AVIOContext *s, int b) flush_buffer(s); } -void put_nbyte(AVIOContext *s, int b, int count) +void ffio_fill(AVIOContext *s, int b, int count) { while (count > 0) { int len = FFMIN(s->buf_end - s->buf_ptr, count); @@ -352,6 +352,10 @@ void put_buffer(AVIOContext *s, const unsigned char *buf, int size) { avio_write(s, buf, size); } +void put_nbyte(AVIOContext *s, int b, int count) +{ + ffio_fill(s, b, count); +} #endif int avio_put_str(AVIOContext *s, const char *str) |