aboutsummaryrefslogtreecommitdiff
path: root/video/qt_decoder.h
diff options
context:
space:
mode:
authorMatthew Hoops2015-01-16 02:03:08 -0500
committerMatthew Hoops2015-01-20 20:10:59 -0500
commit1a0f104acfd465fa577dd14a43b368f92794a9d0 (patch)
treea66405a0871ffef20f43c087eace36142a47d60b /video/qt_decoder.h
parent8e2a438dd9cf8d2c9b6413cfb4cd5e6b81a3c4d0 (diff)
downloadscummvm-rg350-1a0f104acfd465fa577dd14a43b368f92794a9d0.tar.gz
scummvm-rg350-1a0f104acfd465fa577dd14a43b368f92794a9d0.tar.bz2
scummvm-rg350-1a0f104acfd465fa577dd14a43b368f92794a9d0.zip
VIDEO: Fix potential off-by-one frame time after seek
If seeking to the final frame of an edit, _nextFrameStartTime wouldn't be adjust properly and would wrongly say that it's at the end of the edit. This never affected anything because of the edit "-1" hack.
Diffstat (limited to 'video/qt_decoder.h')
-rw-r--r--video/qt_decoder.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/qt_decoder.h b/video/qt_decoder.h
index aa16ffc4db..99ac9ff5f7 100644
--- a/video/qt_decoder.h
+++ b/video/qt_decoder.h
@@ -151,7 +151,6 @@ private:
int32 _curFrame;
uint32 _nextFrameStartTime;
Graphics::Surface *_scaledSurface;
- bool _holdNextFrameStartTime;
int32 _durationOverride;
const byte *_curPalette;
mutable bool _dirtyPalette;