aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2013-11-23 13:43:20 -0500
committerMatthew Hoops2013-11-23 13:43:20 -0500
commit4708a1969b27e0ffd814beacf66c1de6ebb70178 (patch)
tree49827c2ebde1c3d2a1ece75227812bd5db6b0565
parent6d46a114d06c712873430a723436b5c0bbb304c1 (diff)
downloadscummvm-rg350-4708a1969b27e0ffd814beacf66c1de6ebb70178.tar.gz
scummvm-rg350-4708a1969b27e0ffd814beacf66c1de6ebb70178.tar.bz2
scummvm-rg350-4708a1969b27e0ffd814beacf66c1de6ebb70178.zip
VIDEO: Fix awful thinko from 55791d5fc1
-rw-r--r--video/avi_decoder.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/avi_decoder.cpp b/video/avi_decoder.cpp
index 3987d492da..eb5a71cdbe 100644
--- a/video/avi_decoder.cpp
+++ b/video/avi_decoder.cpp
@@ -636,6 +636,8 @@ void AVIDecoder::readOldIndex(uint32 size) {
if (!isAbsolute)
firstEntry.offset += _movieListStart - 4;
+ _indexEntries.push_back(firstEntry);
+
for (uint32 i = 1; i < entryCount; i++) {
OldIndex indexEntry;
indexEntry.id = _fileStream->readUint32BE();