diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-21 20:02:20 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-02-21 14:25:17 -0500 |
commit | 0ac8e2bf2bf3d636241bf2811018d9974687a63c (patch) | |
tree | 9746362b4f319490b2a718b7adfe6800c8290bdd /libavformat/aviobuf.c | |
parent | 77eb5504d3b3e1047900382350e0bc5e0bfb16b5 (diff) | |
download | ffmpeg-0ac8e2bf2bf3d636241bf2811018d9974687a63c.tar.gz |
avio: make put_nbyte internal.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
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) |