[nginx] Mp4: use trak->smhd_size in ngx_http_mp4_read_smhd_atom().
Roman Arutyunyan
arut at nginx.com
Tue Aug 19 10:16:06 UTC 2014
details: http://hg.nginx.org/nginx/rev/6d468b45f40e
branches:
changeset: 5807:6d468b45f40e
user: Roman Arutyunyan <arut at nginx.com>
date: Tue Aug 19 14:13:39 2014 +0400
description:
Mp4: use trak->smhd_size in ngx_http_mp4_read_smhd_atom().
Reported by Gang Li.
diffstat:
src/http/modules/ngx_http_mp4_module.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 8cdec62a7751 -r 6d468b45f40e src/http/modules/ngx_http_mp4_module.c
--- 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 @@ ngx_http_mp4_read_smhd_atom(ngx_http_mp4
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);
More information about the nginx-devel
mailing list