mirror of
https://github.com/nginx/nginx.git
synced 2026-06-27 04:12:05 +00:00
Fixed mp4 if first entry in stsc was skipped (ticket #72).
If first entry in stsc atom was skipped, and seek was to chunk boundary, than first_chunk in the generated stsc table wasn't set to 1.
This commit is contained in:
parent
b65597ecd5
commit
6a56732e98
1 changed files with 2 additions and 0 deletions
|
|
@ -2382,6 +2382,8 @@ found:
|
|||
data->pos = (u_char *) entry;
|
||||
atom_size = sizeof(ngx_mp4_stsc_atom_t) + (data->last - data->pos);
|
||||
|
||||
ngx_mp4_set_32value(entry->chunk, 1);
|
||||
|
||||
if (trak->chunk_samples) {
|
||||
|
||||
first = &trak->stsc_chunk_entry;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue