Mercurial > hg > nginx
changeset 5807:6d468b45f40e
Mp4: use trak->smhd_size in ngx_http_mp4_read_smhd_atom().
Reported by Gang Li.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Tue, 19 Aug 2014 14:13:39 +0400 |
parents | 8cdec62a7751 |
children | a305a4477af0 |
files | src/http/modules/ngx_http_mp4_module.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_mp4_module.c Mon Aug 18 12:03:41 2014 +0400 +++ b/src/http/modules/ngx_http_mp4_module.c Tue Aug 19 14:13:39 2014 +0400 @@ -1840,7 +1840,7 @@ atom->pos = atom_header; atom->last = atom_header + atom_size; - trak->vmhd_size += atom_size; + trak->smhd_size += atom_size; trak->out[NGX_HTTP_MP4_SMHD_ATOM].buf = atom; ngx_mp4_atom_next(mp4, atom_data_size);