Commit 35e02290 authored by michael's avatar michael

Do not read from after the table, fixes CID108 RUN2.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13501 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent db0c50eb
......@@ -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]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment