Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
videojs-contrib-hls
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
c93e864c
authored
2015-11-19 13:43:43 -0500
by
jrivera
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Ignore null-bytes in the m3u8 parser
1 parent
c7eda3a9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/m3u8/m3u8-parser.js
src/m3u8/m3u8-parser.js
View file @
c93e864
...
...
@@ -110,7 +110,7 @@
var
match
,
event
;
//strip whitespace
line
=
line
.
replace
(
/^
\s
+|
\s
+$/g
,
''
);
line
=
line
.
replace
(
/^
[\u
0000
\s]
+|
[\u
0000
\s]
+$/g
,
''
);
if
(
line
.
length
===
0
)
{
// ignore empty lines
return
;
...
...
Please
register
or
sign in
to post a comment