Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_mp4_module.c @ 4705:9a43b145a8ba
Mp4: fixed build on win32 after r4689.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 26 Jun 2012 12:31:40 +0000 |
parents | 5fedb27c3e36 |
children | 192f54280a7a |
comparison
equal
deleted
inserted
replaced
4704:642755ee3fab | 4705:9a43b145a8ba |
---|---|
1022 | 1022 |
1023 mp4->buffer_size = (size_t) atom_data_size | 1023 mp4->buffer_size = (size_t) atom_data_size |
1024 + NGX_HTTP_MP4_MOOV_BUFFER_EXCESS * no_mdat; | 1024 + NGX_HTTP_MP4_MOOV_BUFFER_EXCESS * no_mdat; |
1025 } | 1025 } |
1026 | 1026 |
1027 if (ngx_http_mp4_read(mp4, atom_data_size) != NGX_OK) { | 1027 if (ngx_http_mp4_read(mp4, (size_t) atom_data_size) != NGX_OK) { |
1028 return NGX_ERROR; | 1028 return NGX_ERROR; |
1029 } | 1029 } |
1030 | 1030 |
1031 mp4->trak.elts = &mp4->traks; | 1031 mp4->trak.elts = &mp4->traks; |
1032 mp4->trak.size = sizeof(ngx_http_mp4_trak_t); | 1032 mp4->trak.size = sizeof(ngx_http_mp4_trak_t); |