diff options
author | Bastien Bouclet | 2017-08-18 09:32:24 +0200 |
---|---|---|
committer | Bastien Bouclet | 2017-09-21 13:06:18 +0200 |
commit | 8547c89b86f0be02c4b3ef8e8adb4d5f96cf8432 (patch) | |
tree | dbe3fe398731a85a2d33440888613d87317397d8 /common/quicktime.h | |
parent | 9127f5245fe10bc9de8efea5a9050d980f3ef241 (diff) | |
download | scummvm-rg350-8547c89b86f0be02c4b3ef8e8adb4d5f96cf8432.tar.gz scummvm-rg350-8547c89b86f0be02c4b3ef8e8adb4d5f96cf8432.tar.bz2 scummvm-rg350-8547c89b86f0be02c4b3ef8e8adb4d5f96cf8432.zip |
VIDEO: Change QT edit list to a Common::Array
And fix an out of bounds acces when seeking to the end of a video.
Skipping samples is needed even when seeking through silent edits
because a silent stream is queued for those.
Fixes #10219.
Diffstat (limited to 'common/quicktime.h')
-rw-r--r-- | common/quicktime.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/quicktime.h b/common/quicktime.h index f74d1ed0d9..3f82fc0431 100644 --- a/common/quicktime.h +++ b/common/quicktime.h @@ -150,8 +150,7 @@ protected: Array<SampleDesc *> sampleDescs; - uint32 editCount; - EditListEntry *editList; + Common::Array<EditListEntry> editList; uint32 frameCount; uint32 duration; |