diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2011-10-11 10:12:44 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2011-10-11 10:12:44 +0000 |
| commit | 840ef3980cb4c2f8aa508d10c9284faf17031998 (patch) | |
| tree | 6a189b12610ed00bed09ceabb81d6a4dc9ff7a5f | |
| parent | 2fdb547f3aa3fa3630d292e9fb6e97df12b58d6a (diff) | |
| download | nginx-840ef3980cb4c2f8aa508d10c9284faf17031998.tar.gz nginx-840ef3980cb4c2f8aa508d10c9284faf17031998.tar.bz2 | |
Fixing mp4 module seeking on 32-bit platforms.
| -rw-r--r-- | src/http/modules/ngx_http_mp4_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_mp4_module.c b/src/http/modules/ngx_http_mp4_module.c index 1140d9174..a6752123a 100644 --- 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_mp4_file_t *mp4, } 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); |
