Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
62d4347c
Commit
62d4347c
authored
Jul 06, 2011
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
httplive: check that we actually don't add empty line to segments
parent
0b06c282
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/stream_filter/httplive.c
modules/stream_filter/httplive.c
+1
-1
No files found.
modules/stream_filter/httplive.c
View file @
62d4347c
...
@@ -938,7 +938,7 @@ static int parse_M3U8(stream_t *s, vlc_array_t *streams, uint8_t *buffer, const
...
@@ -938,7 +938,7 @@ static int parse_M3U8(stream_t *s, vlc_array_t *streams, uint8_t *buffer, const
err
=
parse_Version
(
s
,
hls
,
line
);
err
=
parse_Version
(
s
,
hls
,
line
);
else
if
(
strncmp
(
line
,
"#EXT-X-ENDLIST"
,
14
)
==
0
)
else
if
(
strncmp
(
line
,
"#EXT-X-ENDLIST"
,
14
)
==
0
)
err
=
parse_EndList
(
s
,
hls
);
err
=
parse_EndList
(
s
,
hls
);
else
if
(
strncmp
(
line
,
"#"
,
1
)
!=
0
)
else
if
(
(
strncmp
(
line
,
"#"
,
1
)
!=
0
)
&&
(
*
line
!=
'\0'
)
)
{
{
err
=
parse_AddSegment
(
s
,
hls
,
segment_duration
,
line
);
err
=
parse_AddSegment
(
s
,
hls
,
segment_duration
,
line
);
segment_duration
=
-
1
;
/* reset duration */
segment_duration
=
-
1
;
/* reset duration */
...
...
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