Mercurial > hg > nginx
changeset 4306:05f3174483de
Fix of mp4 module seeking.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 23 Nov 2011 07:22:15 +0000 |
parents | f68047884e83 |
children | 9f418371831e |
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 Tue Nov 22 17:02:21 2011 +0000 +++ b/src/http/modules/ngx_http_mp4_module.c Wed Nov 23 07:22:15 2011 +0000 @@ -1899,7 +1899,7 @@ ngx_log_debug2(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0, "count:%uD, duration:%uD", count, duration); - if (start_time < count * duration) { + if (start_time < (uint64_t) count * duration) { start_sample += (ngx_uint_t) (start_time / duration); count -= start_sample; ngx_mp4_set_32value(entry->count, count);