# HG changeset patch # User Igor Sysoev # Date 1318327964 0 # Node ID a12c558503f0221d2041ee15918e40fc5042e8e0 # Parent ca3230f2c6d87cb6a7e9afe1ef8041c5cc40bcce Fixing mp4 module seeking on 32-bit platforms. diff --git a/src/http/modules/ngx_http_mp4_module.c b/src/http/modules/ngx_http_mp4_module.c --- a/src/http/modules/ngx_http_mp4_module.c +++ b/src/http/modules/ngx_http_mp4_module.c @@ -1882,7 +1882,7 @@ ngx_http_mp4_update_stts_atom(ngx_http_m } 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);