diff options
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 28825506d5..fd1419893c 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -324,6 +324,10 @@ int get_buffer(AVIOContext *s, unsigned char *buf, int size) { return avio_read(s, buf, size); } +int get_partial_buffer(AVIOContext *s, unsigned char *buf, int size) +{ + return ffio_read_partial(s, buf, size); +} #endif int avio_put_str(AVIOContext *s, const char *str) @@ -548,7 +552,7 @@ int avio_read(AVIOContext *s, unsigned char *buf, int size) return size1 - size; } -int get_partial_buffer(AVIOContext *s, unsigned char *buf, int size) +int ffio_read_partial(AVIOContext *s, unsigned char *buf, int size) { int len; |