aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_flv_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/modules/ngx_http_flv_module.c')
-rw-r--r--src/http/modules/ngx_http_flv_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_flv_module.c b/src/http/modules/ngx_http_flv_module.c
index 04327d938..3de4ebfdd 100644
--- a/src/http/modules/ngx_http_flv_module.c
+++ b/src/http/modules/ngx_http_flv_module.c
@@ -166,7 +166,7 @@ ngx_http_flv_handler(ngx_http_request_t *r)
i = 1;
if (r->args.len) {
- p = (u_char *) ngx_strstr(r->args.data, "start=");
+ p = (u_char *) ngx_strnstr(r->args.data, "start=", r->args.len);
if (p) {
p += 6;