mirror of
https://github.com/arut/nginx-rtmp-module.git
synced 2025-08-06 15:00:18 +08:00
fixed compilation
This commit is contained in:
@ -1116,14 +1116,11 @@ ngx_rtmp_mp4_parse_co64(ngx_rtmp_session_t *s, u_char *pos, u_char *last)
|
|||||||
static ngx_int_t
|
static ngx_int_t
|
||||||
ngx_rtmp_mp4_parse(ngx_rtmp_session_t *s, u_char *pos, u_char *last)
|
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;
|
uint32_t *hdr, tag;
|
||||||
size_t size, nboxes;
|
size_t size, nboxes;
|
||||||
ngx_uint_t n;
|
ngx_uint_t n;
|
||||||
ngx_rtmp_mp4_box_t *b;
|
ngx_rtmp_mp4_box_t *b;
|
||||||
|
|
||||||
ctx = ngx_rtmp_get_module_ctx(s, ngx_rtmp_mp4_module);
|
|
||||||
|
|
||||||
while (pos != last) {
|
while (pos != last) {
|
||||||
if (pos + 8 > last) {
|
if (pos + 8 > last) {
|
||||||
ngx_log_debug1(NGX_LOG_DEBUG_RTMP, s->connection->log, 0,
|
ngx_log_debug1(NGX_LOG_DEBUG_RTMP, s->connection->log, 0,
|
||||||
|
Reference in New Issue
Block a user