diff options
-rw-r--r-- | video/avi_decoder.cpp | 2 |
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(); |