]> git.kaiwu.me - nginx.git/commit
Mp4: fix seeks to standalone last chunk.
authorRoman Arutyunyan <arut@nginx.com>
Wed, 29 Jan 2014 09:44:15 +0000 (13:44 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Wed, 29 Jan 2014 09:44:15 +0000 (13:44 +0400)
commitd3e0bf306b86ac08b828886e75b8c30218a16377
treeb6ed05bf7aeb877728edc1550961a690c9e9d1bd
parent88f9b411f03dbb587399bb250cfdcbf0dcdaceb0
Mp4: fix seeks to standalone last chunk.

If seek position is within the last track chunk
and that chunk is standalone (stsc entry describes only
this chunk) such seek generates stsc seek error. The
problem is that chunk numbers start with 1, not with 0.
src/http/modules/ngx_http_mp4_module.c