From d44855067de35b933098823152d803bdfea909f3 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 12 Sep 2011 14:54:28 +0000 Subject: [PATCH] Fix of codec debug message. --- src/http/modules/ngx_http_mp4_module.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/http/modules/ngx_http_mp4_module.c b/src/http/modules/ngx_http_mp4_module.c index 2275dbf20..1f0808295 100644 --- a/src/http/modules/ngx_http_mp4_module.c +++ b/src/http/modules/ngx_http_mp4_module.c @@ -1693,7 +1693,9 @@ ngx_http_mp4_read_stsd_atom(ngx_http_mp4_file_t *mp4, uint64_t atom_data_size) ngx_log_debug3(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0, "stsd entries:%ui, codec:%*s", - entries, 4, atom_table); + entries, 4, + atom_header + sizeof(ngx_mp4_stsd_atom_t) + 4); + } } #endif