mirror of https://github.com/nginx/nginx
Merge 816a42c4f0 into c70457482c
This commit is contained in:
commit
7326d4b62e
|
|
@ -2460,7 +2460,7 @@ found:
|
||||||
start_sample -= key_prefix;
|
start_sample -= key_prefix;
|
||||||
|
|
||||||
while (rest < key_prefix) {
|
while (rest < key_prefix) {
|
||||||
trak->prefix += rest * duration;
|
trak->prefix += (uint64_t) rest * duration;
|
||||||
key_prefix -= rest;
|
key_prefix -= rest;
|
||||||
|
|
||||||
entry--;
|
entry--;
|
||||||
|
|
@ -2471,7 +2471,7 @@ found:
|
||||||
rest = count;
|
rest = count;
|
||||||
}
|
}
|
||||||
|
|
||||||
trak->prefix += key_prefix * duration;
|
trak->prefix += (uint64_t) key_prefix * duration;
|
||||||
trak->duration += trak->prefix;
|
trak->duration += trak->prefix;
|
||||||
rest -= key_prefix;
|
rest -= key_prefix;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue