Commit 0ff238df by Dustin

Fix int overrun on files with large scale

parent 565db92a
......@@ -31,7 +31,7 @@ public class StreamHeaderBox extends ResidentBox {
}
public long getDurationUs() {
return getScale() * getLength() * 1_000_000L / getRate();
return 1_000_000L * getScale() * getLength() / getRate();
}
public int getSteamType() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment