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
7f236228
authored
2015-02-23 14:29:24 +0100
by
Rajko Stojadinovic
Committed by
David LaPalomento
2015-04-02 17:02:40 -0400
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fix automatic linter warning
1 parent
fe69162d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/m3u8/m3u8-parser.js
src/m3u8/m3u8-parser.js
View file @
7f23622
...
...
@@ -305,8 +305,9 @@
event
.
attributes
=
parseAttributes
(
match
[
1
]);
// parse the IV string into a Uint32Array
if
(
event
.
attributes
.
IV
)
{
if
(
event
.
attributes
.
IV
.
substring
(
0
,
2
)
==
'0x'
)
if
(
event
.
attributes
.
IV
.
substring
(
0
,
2
)
==
=
'0x'
)
{
event
.
attributes
.
IV
=
event
.
attributes
.
IV
.
substring
(
2
);
}
event
.
attributes
.
IV
=
event
.
attributes
.
IV
.
match
(
/.
{8}
/g
);
event
.
attributes
.
IV
[
0
]
=
parseInt
(
event
.
attributes
.
IV
[
0
],
16
);
...
...
Please
register
or
sign in
to post a comment