diff --git a/ngx_rtmp_mp4_module.c b/ngx_rtmp_mp4_module.c index a7b61c3..6107d2d 100644 --- a/ngx_rtmp_mp4_module.c +++ b/ngx_rtmp_mp4_module.c @@ -1116,14 +1116,11 @@ ngx_rtmp_mp4_parse_co64(ngx_rtmp_session_t *s, u_char *pos, u_char *last) static ngx_int_t ngx_rtmp_mp4_parse(ngx_rtmp_session_t *s, u_char *pos, u_char *last) { - ngx_rtmp_mp4_ctx_t *ctx; uint32_t *hdr, tag; size_t size, nboxes; ngx_uint_t n; ngx_rtmp_mp4_box_t *b; - ctx = ngx_rtmp_get_module_ctx(s, ngx_rtmp_mp4_module); - while (pos != last) { if (pos + 8 > last) { ngx_log_debug1(NGX_LOG_DEBUG_RTMP, s->connection->log, 0,