This commit is contained in:
Maks Maltsev 2025-12-09 16:04:52 -05:00 committed by GitHub
commit 7326d4b62e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

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