musikr: fix stream seeking

Foolishly changed offset sign in seek from end.
This commit is contained in:
Alexander Capehart
2025-01-08 15:49:49 -07:00
parent 8c3750778f
commit 0e34a28dfb
@@ -43,7 +43,7 @@ internal class NativeInputStream(fis: FileInputStream) {
}
fun seekFromEnd(offset: Long) {
channel.position(channel.size() - offset)
channel.position(channel.size() + offset)
}
fun tell() = channel.position()