aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2021-09-16 11:00:39 +0200
committerJavier <dev.git@javispedro.com>2021-09-16 11:00:39 +0200
commit419cd14ea25bc1585552bf73f0f29aa62518c175 (patch)
tree84b72c5f0794983db4cd32461fc833ce593ad482
parentb78e171537fe8cc227521bb6b12bfb923a248f08 (diff)
downloadscribiu-master.tar.gz
scribiu-master.zip
minor fix in stf parsingHEADmaster
-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;