mirror of
https://github.com/arut/nginx-rtmp-module.git
synced 2025-08-06 15:00:18 +08:00
fixed m3u8 parser
This commit is contained in:
@ -830,7 +830,7 @@ ngx_rtmp_hls_restore_stream(ngx_rtmp_session_t *s)
|
||||
f->id = 0;
|
||||
|
||||
mag = 1;
|
||||
for (pa = last - 4; pa != p; pa--) {
|
||||
for (pa = last - 4; pa >= p; pa--) {
|
||||
if (*pa < '0' || *pa > '9') {
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user