diff options
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r-- | libavformat/aviobuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index f156d95fe6..195bbae035 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -276,7 +276,7 @@ static void fill_buffer(ByteIOContext *s) } if(s->read_packet) - len = s->read_packet(s->opaque, s->buffer, s->buffer_size); + len = s->read_packet(s->opaque, s->buffer, s->buffer_size); if (len <= 0) { /* do not modify buffer if EOF reached so that a seek back can be done without rereading data */ @@ -343,7 +343,7 @@ int get_buffer(ByteIOContext *s, unsigned char *buf, int size) if (len == 0) { if(size > s->buffer_size && !s->update_checksum){ if(s->read_packet) - len = s->read_packet(s->opaque, buf, size); + len = s->read_packet(s->opaque, buf, size); if (len <= 0) { /* do not modify buffer if EOF reached so that a seek back can be done without rereading data */ |