Welcome! Log In Create A New Profile

Advanced

[nginx] Mp4: use trak->smhd_size in ngx_http_mp4_read_smhd_atom().

Roman Arutyunyan
August 19, 2014 06:18AM
details: http://hg.nginx.org/nginx/rev/6d468b45f40e
branches:
changeset: 5807:6d468b45f40e
user: Roman Arutyunyan <arut@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);

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Mp4: use trak->smhd_size in ngx_http_mp4_read_smhd_atom().

Roman Arutyunyan 589 August 19, 2014 06:18AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 210
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready