From 419cd14ea25bc1585552bf73f0f29aa62518c175 Mon Sep 17 00:00:00 2001 From: Javier Date: Thu, 16 Sep 2021 11:00:39 +0200 Subject: minor fix in stf parsing --- stfreader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stfreader.cc b/stfreader.cc index ad15b59..270a39c 100644 --- a/stfreader.cc +++ b/stfreader.cc @@ -144,7 +144,7 @@ bool StfReader::parseV1(BitReader& br) deltaf = readDeltaF(br); if (do_delta) { - pa = delta + (pa * static_cast(time)) / 255; + pa = delta + (pa * static_cast(time)) / 256; } p0 += pa; -- cgit v1.2.3