summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules/ngx_http_mp4_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/modules/ngx_http_mp4_module.c')
-rw-r--r--src/http/modules/ngx_http_mp4_module.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/http/modules/ngx_http_mp4_module.c b/src/http/modules/ngx_http_mp4_module.c
index b7bd192df..3d998c250 100644
--- a/src/http/modules/ngx_http_mp4_module.c
+++ b/src/http/modules/ngx_http_mp4_module.c
@@ -1090,13 +1090,6 @@ ngx_http_mp4_read(ngx_http_mp4_file_t *mp4, size_t size)
return NGX_ERROR;
}
- if ((size_t) n != mp4->buffer_size) {
- ngx_log_error(NGX_LOG_CRIT, mp4->file.log, 0,
- ngx_read_file_n " read only %z of %z from \"%s\"",
- n, mp4->buffer_size, mp4->file.name.data);
- return NGX_ERROR;
- }
-
mp4->buffer_pos = mp4->buffer_start;
mp4->buffer_end = mp4->buffer_start + mp4->buffer_size;