This commit is contained in:
Petr Vaganov 2026-07-09 10:26:54 +00:00 committed by GitHub
commit db8ea8ae3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2469,7 +2469,7 @@ found:
start_sample -= key_prefix;
while (rest < key_prefix) {
trak->prefix += rest * duration;
trak->prefix += (uint64_t) rest * duration;
key_prefix -= rest;
entry--;
@ -2480,7 +2480,7 @@ found:
rest = count;
}
trak->prefix += key_prefix * duration;
trak->prefix += (uint64_t) key_prefix * duration;
trak->duration += trak->prefix;
rest -= key_prefix;