]> git.kaiwu.me - nginx.git/commit
Mp4: fixed setting wrong mdat atom size in very rare cases.
authorhucongcong <hucong.c@foxmail.com>
Tue, 22 Nov 2016 05:40:08 +0000 (13:40 +0800)
committerhucongcong <hucong.c@foxmail.com>
Tue, 22 Nov 2016 05:40:08 +0000 (13:40 +0800)
commit8b8b6f41e62407979cbd3d2a91afcdfdd1a0afd8
tree52be342547900cf9f181a272416d4622e34529cb
parent551091951a479e2f512062c51bdcc6157a211164
Mp4: fixed setting wrong mdat atom size in very rare cases.

Atom size is the sum of atom header size and atom data size. The
specification says that the first 4 bytes are set to one when
the atom size is greater than the maximum unsigned 32-bit value.
Which means atom header size should be considered when the
comparison takes place between atom data size and 0xffffffff.
src/http/modules/ngx_http_mp4_module.c