aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--video/avi_decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/avi_decoder.cpp b/video/avi_decoder.cpp
index 910a4092aa..816752076e 100644
--- a/video/avi_decoder.cpp
+++ b/video/avi_decoder.cpp
@@ -734,7 +734,7 @@ bool AVIDecoder::seekIntern(const Audio::Timestamp &time) {
seekTransparencyFrame(frame);
// Set the video track's frame
- videoTrack->setCurFrame((int)frame - 1);
+ videoTrack->setCurFrame(videoTrack->isReversed() ? frame : frame - 1);
// Set the video track's search offset to the right spot
_videoTracks[0].chunkSearchOffset = _indexEntries[frameIndex].offset;