aboutsummaryrefslogtreecommitdiff
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/coktel_decoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/coktel_decoder.cpp b/video/coktel_decoder.cpp
index 981dd82e8b..d4a08ef6e4 100644
--- a/video/coktel_decoder.cpp
+++ b/video/coktel_decoder.cpp
@@ -2071,9 +2071,9 @@ bool VMDDecoder::readFrameTable(int &numFiles) {
_frames[i].parts[j].flags = _stream->readByte();
} else if (_frames[i].parts[j].type == kPartTypeSubtitle) {
- _frames[i].parts[j].id = _stream->readUint16LE();
+ _frames[i].parts[j].id = _stream->readByte();
// Speech text file name
- _stream->skip(8);
+ _stream->skip(9);
} else if (_frames[i].parts[j].type == kPartTypeFile) {
if (!separator)
numFiles++;