Mercurial > hg > nginx
changeset 4189:a12c558503f0
Fixing mp4 module seeking on 32-bit platforms.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 11 Oct 2011 10:12:44 +0000 |
parents | ca3230f2c6d8 |
children | d434191a147f |
files | src/http/modules/ngx_http_mp4_module.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_mp4_module.c Mon Oct 10 08:38:28 2011 +0000 +++ b/src/http/modules/ngx_http_mp4_module.c Tue Oct 11 10:12:44 2011 +0000 @@ -1882,7 +1882,7 @@ } entries = trak->time_to_sample_entries; - start_time = mp4->start * trak->timescale / 1000; + start_time = (uint64_t) mp4->start * trak->timescale / 1000; ngx_log_debug1(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0, "time-to-sample start_time:%uL", start_time);