Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_mp4_module.c @ 5358:670ceaba03d8
Win32: Open Watcom C compatibility fixes.
Precompiled headers are disabled as they lead to internal compiler errors
with long configure lines. Couple of false positive warnings silenced.
Various win32 typedefs are adjusted to work with Open Watcom C 1.9 headers.
With this patch, it's now again possible to compile nginx using owc386,
with options we normally compile on win32 minus ipv6 and ssl.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 04 Sep 2013 20:48:22 +0400 |
parents | 322434f13bd8 |
children | 2fda9065d0f4 |
comparison
equal
deleted
inserted
replaced
5357:659464c695b7 | 5358:670ceaba03d8 |
---|---|
1127 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0, | 1127 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0, |
1128 "mdat new offset @%O:%O", start_offset, atom_data_size); | 1128 "mdat new offset @%O:%O", start_offset, atom_data_size); |
1129 | 1129 |
1130 atom_header = mp4->mdat_atom_header; | 1130 atom_header = mp4->mdat_atom_header; |
1131 | 1131 |
1132 if ((uint64_t) atom_data_size > 0xffffffff) { | 1132 if ((uint64_t) atom_data_size > (uint64_t) 0xffffffff) { |
1133 atom_size = 1; | 1133 atom_size = 1; |
1134 atom_header_size = sizeof(ngx_mp4_atom_header64_t); | 1134 atom_header_size = sizeof(ngx_mp4_atom_header64_t); |
1135 ngx_mp4_set_64value(atom_header + sizeof(ngx_mp4_atom_header_t), | 1135 ngx_mp4_set_64value(atom_header + sizeof(ngx_mp4_atom_header_t), |
1136 sizeof(ngx_mp4_atom_header64_t) + atom_data_size); | 1136 sizeof(ngx_mp4_atom_header64_t) + atom_data_size); |
1137 } else { | 1137 } else { |