[PATCH] Mp4: use trak->smhd_size in ngx_http_mp4_read_smhd_atom()
Roman Arutyunyan
arut at nginx.com
Tue Aug 19 10:16:39 UTC 2014
Committed, thanks.
On 16 Aug 2014, at 18:00, portl4t.cn at gmail.com wrote:
> # HG changeset patch
> # User Gang Li <portl4t.cn at gmail.com>
> # Date 1408195574 -28800
> # Sat Aug 16 21:26:14 2014 +0800
> # Node ID 083b9aeb29bce7b18171cd6df5bcd5f34b9e2f1b
> # Parent 79553cb7774753f9c40a6fa6744b0e0611e41908
> Mp4: use trak->smhd_size in ngx_http_mp4_read_smhd_atom()
>
> diff -r 79553cb77747 -r 083b9aeb29bc src/http/modules/ngx_http_mp4_module.c
> --- a/src/http/modules/ngx_http_mp4_module.c Fri Aug 15 14:09:29 2014 +0400
> +++ b/src/http/modules/ngx_http_mp4_module.c Sat Aug 16 21:26:14 2014 +0800
> @@ -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);
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
More information about the nginx-devel
mailing list