projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7bb67c
)
The current_sample field is meant to be the sample number, not an offset into
author
Julian Scheid
<julian@sektor37.de>
Sun, 19 Feb 2006 12:49:17 +0000
(12:49 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Sun, 19 Feb 2006 12:49:17 +0000
(12:49 +0000)
the sample data. Don't increment it by multiples of sc->sample_size.
patch by Julian Scheid, julian _-at-_ sektor37 _-dot-_ de
Originally committed as revision 5037 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mov.c
patch
|
blob
|
history
diff --git
a/libavformat/mov.c
b/libavformat/mov.c
index
230860b
..
36084e5
100644
(file)
--- a/
libavformat/mov.c
+++ b/
libavformat/mov.c
@@
-1835,7
+1835,7
@@
again:
sc->current_sample++;
}else if(idx + 1 < sc->sample_to_chunk_sz){
- sc->current_sample += sc->sample_
size * sc->sample_
to_chunk[idx].count;
+ sc->current_sample += sc->sample_to_chunk[idx].count;
}
readchunk: