[Scummvm-git-logs] scummvm master -> f7457c7c86d316d35e2ea758d3c71700c314ae3a

sev- noreply at scummvm.org
Sat Apr 29 10:16:50 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:
f7457c7c86 VIDEO: Fix signed/unsigned mismatch potentially breaking DXA seek.


Commit: f7457c7c86d316d35e2ea758d3c71700c314ae3a
    https://github.com/scummvm/scummvm/commit/f7457c7c86d316d35e2ea758d3c71700c314ae3a
Author: elasota (ejlasota at gmail.com)
Date: 2023-04-29T12:16:47+02:00

Commit Message:
VIDEO: Fix signed/unsigned mismatch potentially breaking DXA seek.

Changed paths:
    video/dxa_decoder.cpp


diff --git a/video/dxa_decoder.cpp b/video/dxa_decoder.cpp
index 9361c131fd4..37fb953383b 100644
--- a/video/dxa_decoder.cpp
+++ b/video/dxa_decoder.cpp
@@ -69,7 +69,7 @@ void DXADecoder::readSoundData(Common::SeekableReadStream *stream) {
 
 		addStreamTrack(Audio::makeWAVStream(stream->readStream(size), DisposeAfterUse::YES));
 	} else if (tag != MKTAG('N','U','L','L')) {
-		stream->skip(-4);
+		stream->seek(-4, SEEK_CUR);
 	}
 }
 




More information about the Scummvm-git-logs mailing list