[Scummvm-git-logs] scummvm master -> deb959a9024efc2b0cd5a8c171cad27d508a6856
whoozle
vladimir.menshakov at gmail.com
Sun Apr 25 21:10:27 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
deb959a902 VIDEO: Allow zero data words count in decodeDeltaFLC
Commit: deb959a9024efc2b0cd5a8c171cad27d508a6856
https://github.com/scummvm/scummvm/commit/deb959a9024efc2b0cd5a8c171cad27d508a6856
Author: Vladimir Menshakov (vladimir.menshakov at gmail.com)
Date: 2021-04-25T22:07:28+01:00
Commit Message:
VIDEO: Allow zero data words count in decodeDeltaFLC
Excerpt from specification:
The first byte of each packet is the column skip count;
the second byte is the RLE count byte.
Zero or more data words follow the RLE count byte.
Changed paths:
video/flic_decoder.cpp
diff --git a/video/flic_decoder.cpp b/video/flic_decoder.cpp
index d9e79bc070..24af024fca 100644
--- a/video/flic_decoder.cpp
+++ b/video/flic_decoder.cpp
@@ -351,8 +351,6 @@ void FlicDecoder::FlicVideoTrack::decodeDeltaFLC(uint8 *data) {
WRITE_UINT16((byte *)_surface->getBasePtr(column + i * 2, currentLine), dataWord);
}
_dirtyRects.push_back(Common::Rect(column, currentLine, column + rleCount * 2, currentLine + 1));
- } else { // End of cutscene ?
- return;
}
column += rleCount * 2;
}
More information about the Scummvm-git-logs
mailing list