Skip to content

Commit

Permalink
nginx 1.0.8
Browse files Browse the repository at this point in the history
    *) Bugfix: nginx could not be built --with-http_mp4_module and without
       --with-debug option.
  • Loading branch information
igorsysoev authored and catap committed Sep 30, 2011
1 parent 8b54097 commit 0fd2901
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGES
@@ -1,4 +1,10 @@

Changes with nginx 1.0.8 01 Oct 2011

*) Bugfix: nginx could not be built --with-http_mp4_module and without
--with-debug option.


Changes with nginx 1.0.7 30 Sep 2011

*) Change: now if total size of all ranges is greater than source
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.ru
@@ -1,4 +1,10 @@

Изменения в nginx 1.0.8 01.10.2011

*) Исправление: nginx не собирался с модулем ngx_http_mp4_module и без
параметра --with-debug.


Изменения в nginx 1.0.7 30.09.2011

*) Изменение: теперь, если суммарный размер всех диапазонов больше
Expand Down
4 changes: 2 additions & 2 deletions src/core/nginx.h
Expand Up @@ -8,8 +8,8 @@
#define _NGINX_H_INCLUDED_


#define nginx_version 1000007
#define NGINX_VERSION "1.0.7"
#define nginx_version 1000008
#define NGINX_VERSION "1.0.8"
#define NGINX_VER "nginx/" NGINX_VERSION

#define NGINX_VAR "NGINX"
Expand Down
8 changes: 4 additions & 4 deletions src/http/modules/ngx_http_mp4_module.c
Expand Up @@ -742,7 +742,7 @@ ngx_http_mp4_process(ngx_http_mp4_file_t *mp4)
+ ngx_http_mp4_update_mdat_atom(mp4, start_offset)
- start_offset;

ngx_log_debug0(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0,
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0,
"mp4 adjustment:%D", adjustment);

for (i = 0; i < mp4->trak.nelts; i++) {
Expand Down Expand Up @@ -836,7 +836,7 @@ ngx_http_mp4_read_atom(ngx_http_mp4_file_t *mp4,

atom_name = atom_header + sizeof(uint32_t);

ngx_log_debug2(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0,
ngx_log_debug4(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0,
"mp4 atom: %*s @%O:%uL",
4, atom_name, mp4->offset, atom_size);

Expand Down Expand Up @@ -1068,7 +1068,7 @@ ngx_http_mp4_update_mdat_atom(ngx_http_mp4_file_t *mp4, off_t start_offset)
mp4->mdat_data.buf->file_pos = start_offset;
mp4->content_length += atom_data_size;

ngx_log_debug1(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0,
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0,
"mdat new offset @%O:%O", start_offset, atom_data_size);

atom_header = mp4->mdat_atom_header;
Expand Down Expand Up @@ -2179,7 +2179,7 @@ ngx_http_mp4_update_ctts_atom(ngx_http_mp4_file_t *mp4,
while (entry < end) {
count = ngx_mp4_get_32value(entry->count);

ngx_log_debug2(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0,
ngx_log_debug3(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0,
"start:%uD, count:%uD, offset:%uD",
start_sample, count, ngx_mp4_get_32value(entry->offset));

Expand Down
2 changes: 1 addition & 1 deletion src/http/modules/perl/nginx.pm
Expand Up @@ -48,7 +48,7 @@ our @EXPORT = qw(
HTTP_INSUFFICIENT_STORAGE
);

our $VERSION = '1.0.7';
our $VERSION = '1.0.8';

require XSLoader;
XSLoader::load('nginx', $VERSION);
Expand Down

0 comments on commit 0fd2901

Please sign in to comment.