Browse Source

lavf: fix avio statistics for packets directly read without the buffer.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer 13 years ago
parent
commit
4b9e44868b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/aviobuf.c

+ 1
- 0
libavformat/aviobuf.c View File

@@ -485,6 +485,7 @@ int avio_read(AVIOContext *s, unsigned char *buf, int size)
break;
} else {
s->pos += len;
s->bytes_read += len;
size -= len;
buf += len;
s->buf_ptr = s->buffer;


Loading…
Cancel
Save