Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
7507a0f7
Commit
7507a0f7
authored
Dec 31, 2010
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream_filter/httplive.c: off by one
Matching #EXT-* keywords was off by one for several.
parent
f02f6199
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/stream_filter/httplive.c
modules/stream_filter/httplive.c
+4
-4
No files found.
modules/stream_filter/httplive.c
View file @
7507a0f7
...
...
@@ -649,13 +649,13 @@ static void parse_M3U8ExtLine(stream_t *s, hls_stream_t *hls, char *line)
{
if
(
strncmp
(
line
,
"#EXT-X-TARGETDURATION"
,
21
)
==
0
)
parse_TargetDuration
(
s
,
hls
,
line
);
else
if
(
strncmp
(
line
,
"#EXT-X-MEDIA-SEQUENCE"
,
2
2
)
==
0
)
else
if
(
strncmp
(
line
,
"#EXT-X-MEDIA-SEQUENCE"
,
2
1
)
==
0
)
parse_MediaSequence
(
s
,
hls
,
line
);
else
if
(
strncmp
(
line
,
"#EXT-X-KEY"
,
1
1
)
==
0
)
else
if
(
strncmp
(
line
,
"#EXT-X-KEY"
,
1
0
)
==
0
)
parse_Key
(
s
,
hls
,
line
);
else
if
(
strncmp
(
line
,
"#EXT-X-PROGRAM-DATE-TIME"
,
2
5
)
==
0
)
else
if
(
strncmp
(
line
,
"#EXT-X-PROGRAM-DATE-TIME"
,
2
4
)
==
0
)
parse_ProgramDateTime
(
s
,
hls
,
line
);
else
if
(
strncmp
(
line
,
"#EXT-X-ALLOW-CACHE"
,
1
7
)
==
0
)
else
if
(
strncmp
(
line
,
"#EXT-X-ALLOW-CACHE"
,
1
8
)
==
0
)
parse_AllowCache
(
s
,
hls
,
line
);
else
if
(
strncmp
(
line
,
"#EXT-X-DISCONTINUITY"
,
20
)
==
0
)
parse_Discontinuity
(
s
,
hls
,
line
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment