Fixed previous commit.

This commit is contained in:
Igor Sysoev 2012-04-10 11:27:43 +00:00
parent cbc51bb295
commit 654a56e06a

View File

@ -1910,7 +1910,7 @@ ngx_http_mp4_update_stts_atom(ngx_http_mp4_file_t *mp4,
if (start_time < (uint64_t) count * duration) {
start_sample += (ngx_uint_t) (start_time / duration);
count -= start_time;
count -= (uint32_t) (start_time / duration);
ngx_mp4_set_32value(entry->count, count);
goto found;
}