diff options
| author | Roman Arutyunyan <arut@nginx.com> | 2014-08-19 14:13:39 +0400 |
|---|---|---|
| committer | Roman Arutyunyan <arut@nginx.com> | 2014-08-19 14:13:39 +0400 |
| commit | a8227724c0635e41fe758291494426112798d522 (patch) | |
| tree | f408bfe092d68879585910261fbcb9f964568298 /src | |
| parent | 3ed0e11d083ce8933ae4877e37b0bad0014abf26 (diff) | |
| download | nginx-a8227724c0635e41fe758291494426112798d522.tar.gz nginx-a8227724c0635e41fe758291494426112798d522.tar.bz2 | |
Mp4: use trak->smhd_size in ngx_http_mp4_read_smhd_atom().
Reported by Gang Li.
Diffstat (limited to 'src')
| -rw-r--r-- | src/http/modules/ngx_http_mp4_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_mp4_module.c b/src/http/modules/ngx_http_mp4_module.c index 8f439ba92..980bf5719 100644 --- a/src/http/modules/ngx_http_mp4_module.c +++ b/src/http/modules/ngx_http_mp4_module.c @@ -1840,7 +1840,7 @@ ngx_http_mp4_read_smhd_atom(ngx_http_mp4_file_t *mp4, uint64_t atom_data_size) 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); |
