diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mohawk/video/qdm2.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/mohawk/video/qdm2.cpp b/engines/mohawk/video/qdm2.cpp index 23a09f05d1..f5d4af8aed 100644 --- a/engines/mohawk/video/qdm2.cpp +++ b/engines/mohawk/video/qdm2.cpp @@ -2961,8 +2961,7 @@ int QDM2Stream::qdm2_decodeFrame(Common::SeekableReadStream *in) { return 0; } - for(i = 0; i < _packetSize; i++) - _compressedData[i] = in->readByte(); + in->read(_compressedData, _packetSize); debug(1, "QDM2Stream::qdm2_decodeFrame constructed input data"); // copy old block, clear new block of output samples |