From f7457c7c86d316d35e2ea758d3c71700c314ae3a Mon Sep 17 00:00:00 2001 From: elasota Date: Mon, 10 Apr 2023 11:07:20 -0400 Subject: [PATCH] VIDEO: Fix signed/unsigned mismatch potentially breaking DXA seek. --- video/dxa_decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }