diff options
author | Javier <dev.git@javispedro.com> | 2021-09-16 11:00:39 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2021-09-16 11:00:39 +0200 |
commit | 419cd14ea25bc1585552bf73f0f29aa62518c175 (patch) | |
tree | 84b72c5f0794983db4cd32461fc833ce593ad482 | |
parent | b78e171537fe8cc227521bb6b12bfb923a248f08 (diff) | |
download | scribiu-419cd14ea25bc1585552bf73f0f29aa62518c175.tar.gz scribiu-419cd14ea25bc1585552bf73f0f29aa62518c175.zip |
minor fix in stf parsing
-rw-r--r-- | stfreader.cc | 2 |
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; |