Mercurial > hg > nginx
changeset 4577:79aab5f5b201
Fixed mp4 module seek.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 10 Apr 2012 11:21:47 +0000 |
parents | 876e6b0814a5 |
children | dbbc5ad46216 |
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 +++ b/src/http/modules/ngx_http_mp4_module.c @@ -1910,7 +1910,7 @@ ngx_http_mp4_update_stts_atom(ngx_http_m if (start_time < (uint64_t) count * duration) { start_sample += (ngx_uint_t) (start_time / duration); - count -= start_sample; + count -= start_time; ngx_mp4_set_32value(entry->count, count); goto found; }