projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2626cc4
)
lavf: fix avio statistics for packets directly read without the buffer.
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 25 Aug 2012 21:24:21 +0000
(23:24 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 25 Aug 2012 21:25:36 +0000
(23:25 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/aviobuf.c
patch
|
blob
|
history
diff --git
a/libavformat/aviobuf.c
b/libavformat/aviobuf.c
index
13b3c86
..
f1ac24e
100644
(file)
--- a/
libavformat/aviobuf.c
+++ b/
libavformat/aviobuf.c
@@
-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;