aboutsummaryrefslogtreecommitdiff
path: root/stfreader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'stfreader.cc')
-rw-r--r--stfreader.cc2
1 files changed, 1 insertions, 1 deletions
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<int>(time)) / 255;
+ pa = delta + (pa * static_cast<int>(time)) / 256;
}
p0 += pa;