mirror of
https://github.com/nginx/nginx.git
synced 2025-06-20 03:51:09 +08:00
Fixed mp4 module seek.
This commit is contained in:
parent
baa239c487
commit
cbc51bb295
@ -1910,7 +1910,7 @@ ngx_http_mp4_update_stts_atom(ngx_http_mp4_file_t *mp4,
|
|||||||
|
|
||||||
if (start_time < (uint64_t) count * duration) {
|
if (start_time < (uint64_t) count * duration) {
|
||||||
start_sample += (ngx_uint_t) (start_time / duration);
|
start_sample += (ngx_uint_t) (start_time / duration);
|
||||||
count -= start_sample;
|
count -= start_time;
|
||||||
ngx_mp4_set_32value(entry->count, count);
|
ngx_mp4_set_32value(entry->count, count);
|
||||||
goto found;
|
goto found;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user