comparison src/http/modules/ngx_http_mp4_module.c @ 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 67a4654ba7d9
children 71cdac0b9ea6
comparison
equal deleted inserted replaced
4188:ca3230f2c6d8 4189:a12c558503f0
1880 mp4->file.name.data); 1880 mp4->file.name.data);
1881 return NGX_ERROR; 1881 return NGX_ERROR;
1882 } 1882 }
1883 1883
1884 entries = trak->time_to_sample_entries; 1884 entries = trak->time_to_sample_entries;
1885 start_time = mp4->start * trak->timescale / 1000; 1885 start_time = (uint64_t) mp4->start * trak->timescale / 1000;
1886 1886
1887 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0, 1887 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0,
1888 "time-to-sample start_time:%uL", start_time); 1888 "time-to-sample start_time:%uL", start_time);
1889 1889
1890 start_sample = 0; 1890 start_sample = 0;