mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-01 22:29:32 +02:00
fixed sample sizes in dash
This commit is contained in:
parent
7ea7690db2
commit
0e07492797
|
@ -1014,7 +1014,7 @@ ngx_rtmp_mp4_write_trun(ngx_buf_t *b, uint32_t sample_count,
|
|||
ngx_rtmp_mp4_field_32(b, 0); /* first sample flags */
|
||||
}
|
||||
|
||||
for (i = 1; i <= sample_count; i++) {
|
||||
for (i = 0; i < sample_count; i++) {
|
||||
ngx_rtmp_mp4_field_32(b, sample_sizes[i]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue