summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-09-14 15:25:46 +0000
committerIgor Sysoev <igor@sysoev.ru>2011-09-14 15:25:46 +0000
commitacdac73688154e4aa618f4bb3824b40790c9d0a4 (patch)
tree0c82a91b4f366e2afbc53ad0195dbd93a189674a /src
parent4a383594fb1eeb8face06089ef3fca5199794985 (diff)
downloadnginx-acdac73688154e4aa618f4bb3824b40790c9d0a4.tar.gz
nginx-acdac73688154e4aa618f4bb3824b40790c9d0a4.tar.bz2
Fixing building by gcc-4.7.
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/ngx_http_mp4_module.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/http/modules/ngx_http_mp4_module.c b/src/http/modules/ngx_http_mp4_module.c
index fc21ec410..c7319f6e1 100644
--- a/src/http/modules/ngx_http_mp4_module.c
+++ b/src/http/modules/ngx_http_mp4_module.c
@@ -1702,7 +1702,6 @@ ngx_http_mp4_read_stsd_atom(ngx_http_mp4_file_t *mp4, uint64_t atom_data_size)
{
u_char *atom_header, *atom_table;
size_t atom_size;
- uint32_t entries;
ngx_buf_t *atom;
ngx_mp4_stsd_atom_t *stsd_atom;
ngx_http_mp4_trak_t *trak;
@@ -1718,8 +1717,6 @@ ngx_http_mp4_read_stsd_atom(ngx_http_mp4_file_t *mp4, uint64_t atom_data_size)
ngx_mp4_set_32value(stsd_atom->size, atom_size);
ngx_mp4_set_atom_name(stsd_atom, 's', 't', 's', 'd');
- entries = ngx_mp4_get_32value(stsd_atom->entries);
-
if ((uint64_t) (sizeof(ngx_mp4_stsd_atom_t) - sizeof(ngx_mp4_atom_header_t))
> atom_data_size) {
ngx_log_error(NGX_LOG_ERR, mp4->file.log, 0,