fixed m3u8 parser

This commit is contained in:
Roman Arutyunyan
2013-04-16 17:24:06 +04:00
parent a3db04dd5b
commit 2e6d8b219a

View File

@ -830,7 +830,7 @@ ngx_rtmp_hls_restore_stream(ngx_rtmp_session_t *s)
f->id = 0; f->id = 0;
mag = 1; mag = 1;
for (pa = last - 4; pa != p; pa--) { for (pa = last - 4; pa >= p; pa--) {
if (*pa < '0' || *pa > '9') { if (*pa < '0' || *pa > '9') {
break; break;
} }