[Scummvm-git-logs] scummvm master -> 80f4f670f936d4f3a47e75e6aa4f2141c04a4dc8

rvanlaar noreply at scummvm.org
Mon Mar 7 18:04:43 UTC 2022


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:
80f4f670f9 VIDEO: PACo decoder: skip lines in ouput


Commit: 80f4f670f936d4f3a47e75e6aa4f2141c04a4dc8
    https://github.com/scummvm/scummvm/commit/80f4f670f936d4f3a47e75e6aa4f2141c04a4dc8
Author: Roland van Laar (roland at rolandvanlaar.nl)
Date: 2022-03-07T18:56:00+01:00

Commit Message:
VIDEO: PACo decoder: skip lines in ouput

The amount of lines to skip is in `len`. This wasn't taken into account
when decoding the endcurrentline opcode.

Thanks to Kostya for resolving the issue.

Changed paths:
    video/paco_decoder.cpp


diff --git a/video/paco_decoder.cpp b/video/paco_decoder.cpp
index c9e7cadaf70..c5d78ba0e45 100644
--- a/video/paco_decoder.cpp
+++ b/video/paco_decoder.cpp
@@ -449,6 +449,7 @@ void PacoDecoder::PacoVideoTrack::handleFrame(Common::SeekableReadStream *fileSt
 						case ENDCURRENTLINE:
 							debug(5, "debug info ENDCURRENTLINE: %d", len);
 							xpos = x + bw;
+							ypos += len;
 							break;
 						default:
 							warning("PacoDecoder::PacoVideoTrack::handleFrame: Compact RLE mode: 0x0 op %d", op);




More information about the Scummvm-git-logs mailing list