[Scummvm-git-logs] scummvm master -> 9436498bf33270ab91c9c9b09ec63b6f965033ab
sev-
noreply at scummvm.org
Sun Apr 9 10:59:24 UTC 2023
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:
9436498bf3 VIDEO: Use endian-safe loads in for type 12 DXA frames
Commit: 9436498bf33270ab91c9c9b09ec63b6f965033ab
https://github.com/scummvm/scummvm/commit/9436498bf33270ab91c9c9b09ec63b6f965033ab
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2023-04-09T12:59:21+02:00
Commit Message:
VIDEO: Use endian-safe loads in for type 12 DXA frames
Changed paths:
video/dxa_decoder.cpp
diff --git a/video/dxa_decoder.cpp b/video/dxa_decoder.cpp
index 6ec37429590..ddcec71819f 100644
--- a/video/dxa_decoder.cpp
+++ b/video/dxa_decoder.cpp
@@ -209,7 +209,7 @@ void DXADecoder::DXAVideoTrack::decode12(int size) {
((*dat & 0x0F) << shiftTbl[type-10].sh2);
dat++;
} else {
- diffMap = *(unsigned short*)dat;
+ diffMap = READ_BE_UINT16(dat);
dat += 2;
}
More information about the Scummvm-git-logs
mailing list