From 14ba61505f5e170ca3e9dd2e0fddac322a5e5fbf Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Thu, 13 Jun 2013 00:44:37 +0400 Subject: [PATCH] fixed windows mmap code --- ngx_rtmp_mp4_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngx_rtmp_mp4_module.c b/ngx_rtmp_mp4_module.c index 2dd3785..f25c8c1 100644 --- a/ngx_rtmp_mp4_module.c +++ b/ngx_rtmp_mp4_module.c @@ -275,7 +275,7 @@ ngx_rtmp_mp4_munmap(void *data, size_t size, ngx_fd_t *extra) } if (CloseHandle(*extra) == 0) { - ret = NGX_ERROR; + rc = NGX_ERROR; } return rc;