From 085474a7c750b925c40f6feb7ae79644a29a4471 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Fri, 20 May 2022 14:39:06 +0100 Subject: [PATCH] Fix playback resume point on recordings with file sizes > 2^32B --- recplayer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recplayer.c b/recplayer.c index 02bd6f2..033e4ec 100644 --- a/recplayer.c +++ b/recplayer.c @@ -255,7 +255,7 @@ ULONG RecPlayer::frameNumberFromPosition(ULLONG position) if ((position >= segments[segmentNumber]->start) && (position < segments[segmentNumber]->end)) break; // position is in this block } - ULONG askposition = position - segments[segmentNumber]->start; + ULLONG askposition = position - segments[segmentNumber]->start; return indexFile->Get((int)segmentNumber, askposition); } -- 2.39.5