<div># HG changeset patch</div><div># User Gang Li <portl4t.cn@gmail.com></div><div># Date 1408195574 -28800</div><div># Sat Aug 16 21:26:14 2014 +0800</div><div># Node ID 083b9aeb29bce7b18171cd6df5bcd5f34b9e2f1b</div><div># Parent 79553cb7774753f9c40a6fa6744b0e0611e41908</div><div>Mp4: use trak->smhd_size in ngx_http_mp4_read_smhd_atom()</div><div><br></div><div>diff -r 79553cb77747 -r 083b9aeb29bc src/http/modules/ngx_http_mp4_module.c</div><div>--- a/src/http/modules/ngx_http_mp4_module.c<span class="Apple-tab-span" style="white-space:pre"> </span>Fri Aug 15 14:09:29 2014 +0400</div><div>+++ b/src/http/modules/ngx_http_mp4_module.c<span class="Apple-tab-span" style="white-space:pre"> </span>Sat Aug 16 21:26:14 2014 +0800</div><div>@@ -1840,7 +1840,7 @@</div><div> atom->pos = atom_header;</div><div> atom->last = atom_header + atom_size;</div><div> </div><div>- trak->vmhd_size += atom_size;</div><div>+ trak->smhd_size += atom_size;</div><div> trak->out[NGX_HTTP_MP4_SMHD_ATOM].buf = atom;</div><div> </div><div> ngx_mp4_atom_next(mp4, atom_data_size);</div>