diff options
author | Dmitry Blau | 2019-09-13 11:27:24 +0300 |
---|---|---|
committer | Filippos Karapetis | 2019-09-13 11:27:24 +0300 |
commit | cf179868c8088be7b416f17bd68fe56ad426df5f (patch) | |
tree | 1e970f6e94c5a9201820700b09c9f4a56cc0eb87 /video | |
parent | db3e3285d405156e07e94232aa67c9421ad8fbef (diff) | |
download | scummvm-rg350-cf179868c8088be7b416f17bd68fe56ad426df5f.tar.gz scummvm-rg350-cf179868c8088be7b416f17bd68fe56ad426df5f.tar.bz2 scummvm-rg350-cf179868c8088be7b416f17bd68fe56ad426df5f.zip |
VIDEO: Fix embedded subtitles in VMD videos
This fixes the subtitles in Woodruff - bug 10960
Diffstat (limited to 'video')
-rw-r--r-- | video/coktel_decoder.cpp | 4 |
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++; |