Skip to content

Commit 5bb0e2f

Browse files
author
wangxingyuan
committed
[fix] fix incorrect codes.
1 parent 2ccf27c commit 5bb0e2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ngx_http_flv_live_module.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,10 +317,10 @@ ngx_http_flv_live_send_header(ngx_rtmp_session_t *s)
317317
}
318318

319319
buf_resp_hdr.start = buf_resp_hdr.pos;
320-
buf_resp_hdr.end = buf_resp_hdr.end;
320+
buf_resp_hdr.end = buf_resp_hdr.last;
321321

322322
buf_flv_hdr.start = buf_flv_hdr.pos;
323-
buf_flv_hdr.end = buf_flv_hdr.end;
323+
buf_flv_hdr.end = buf_flv_hdr.last;
324324

325325
cl_resp_hdr.buf = &buf_resp_hdr;
326326
cl_flv_hdr.buf = &buf_flv_hdr;

0 commit comments

Comments
 (0)