diff options
author | Ori Avtalion | 2014-12-27 16:36:41 +0200 |
---|---|---|
committer | Ori Avtalion | 2014-12-27 16:37:20 +0200 |
commit | b3712cc877482e150a3532fa0f21f5c03dc839f1 (patch) | |
tree | eb8117ad4b760d864682f794f4ee2e2f75cf8219 /engines/zvision/video | |
parent | 1016838bd5e556a4882f2b07e993ea9e78d12f7f (diff) | |
download | scummvm-rg350-b3712cc877482e150a3532fa0f21f5c03dc839f1.tar.gz scummvm-rg350-b3712cc877482e150a3532fa0f21f5c03dc839f1.tar.bz2 scummvm-rg350-b3712cc877482e150a3532fa0f21f5c03dc839f1.zip |
ZVISION: Remove dead code (uint is always > 0)
Diffstat (limited to 'engines/zvision/video')
-rw-r--r-- | engines/zvision/video/rlf_decoder.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/engines/zvision/video/rlf_decoder.cpp b/engines/zvision/video/rlf_decoder.cpp index 260f912ade..1478822d00 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; |