[FFmpeg-cvslog] r13501 - trunk/libavformat/tiertexseq.c
michael
subversion
Wed May 28 22:28:48 CEST 2008
Author: michael
Date: Wed May 28 22:28:48 2008
New Revision: 13501
Log:
Do not read from after the table, fixes CID108 RUN2.
Modified:
trunk/libavformat/tiertexseq.c
Modified: trunk/libavformat/tiertexseq.c
==============================================================================
--- trunk/libavformat/tiertexseq.c (original)
+++ trunk/libavformat/tiertexseq.c Wed May 28 22:28:48 2008
@@ -155,7 +155,7 @@ static int seq_parse_frame_data(SeqDemux
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]);
More information about the ffmpeg-cvslog
mailing list