[Scummvm-cvs-logs] scummvm master -> b3712cc877482e150a3532fa0f21f5c03dc839f1
salty-horse
ori at avtalion.name
Sat Dec 27 15:38:21 CET 2014
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:
b3712cc877 ZVISION: Remove dead code (uint is always > 0)
Commit: b3712cc877482e150a3532fa0f21f5c03dc839f1
https://github.com/scummvm/scummvm/commit/b3712cc877482e150a3532fa0f21f5c03dc839f1
Author: Ori Avtalion (ori at avtalion.name)
Date: 2014-12-27T16:37:20+02:00
Commit Message:
ZVISION: Remove dead code (uint is always > 0)
Changed paths:
engines/zvision/video/rlf_decoder.cpp
diff --git a/engines/zvision/video/rlf_decoder.cpp b/engines/zvision/video/rlf_decoder.cpp
index 260f912..1478822 100644
--- a/engines/zvision/video/rlf_decoder.cpp
+++ b/engines/zvision/video/rlf_decoder.cpp
@@ -164,11 +164,6 @@ bool RLFDecoder::RLFVideoTrack::seek(const Audio::Timestamp &time) {
if ((uint)_curFrame == frame)
return true;
- if (frame < 0) {
- _curFrame = 0;
- return false;
- }
-
int closestFrame = _curFrame;
int distance = (int)frame - _curFrame;
More information about the Scummvm-git-logs
mailing list