fixes unit test

This commit is contained in:
2023-03-18 12:47:43 +01:00
parent 654cf3f9e5
commit 65461ccc48
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ class FstFileParser {
// String version = FstLibrary.fstReaderGetVersionString(fst);
long endTime = FstLibrary.fstReaderGetEndTime(fst);
byte timeScale = FstLibrary.fstReaderGetTimescale(fst);
builder.setMaxTime(endTime, timeScale);
builder.setMaxTime(endTime, -timeScale);
FstLibrary.fstReaderIterateHierRewind(fst);
Pointer p = FstLibrary.fstReaderIterateHier(fst);
while(p!=null && !p.equals(Pointer.NULL)) {