projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31e1589
)
Do not read from after the table, fixes CID108 RUN2.
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 28 May 2008 20:28:48 +0000
(20:28 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 28 May 2008 20:28:48 +0000
(20:28 +0000)
Originally committed as revision 13501 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/tiertexseq.c
patch
|
blob
|
blame
|
history
diff --git
a/libavformat/tiertexseq.c
b/libavformat/tiertexseq.c
index
457185b
..
bcce674
100644
(file)
--- a/
libavformat/tiertexseq.c
+++ b/
libavformat/tiertexseq.c
@@
-155,7
+155,7
@@
static int seq_parse_frame_data(SeqDemuxContext *seq, ByteIOContext *pb)
for (i = 0; i < 3; i++) {
if (offset_table[i] != 0) {
- for (e = i + 1; e <
4
&& offset_table[e] == 0; e++);
+ for (e = i + 1; e <
3
&& offset_table[e] == 0; e++);
err = seq_fill_buffer(seq, pb, buffer_num[1 + i],
offset_table[i],
offset_table[e] - offset_table[i]);