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
80f1a853
Commit
80f1a853
authored
Mar 12, 2012
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hls: Cosmetics.
parent
fc50e57a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
modules/stream_filter/httplive.c
modules/stream_filter/httplive.c
+9
-9
No files found.
modules/stream_filter/httplive.c
View file @
80f1a853
...
@@ -577,20 +577,20 @@ static int parse_SegmentInformation(hls_stream_t *hls, char *p_read, int *durati
...
@@ -577,20 +577,20 @@ static int parse_SegmentInformation(hls_stream_t *hls, char *p_read, int *durati
char
*
endptr
;
char
*
endptr
;
if
(
hls
->
version
<
3
)
if
(
hls
->
version
<
3
)
{
{
errno
=
0
;
errno
=
0
;
value
=
strtol
(
token
,
&
endptr
,
10
);
value
=
strtol
(
token
,
&
endptr
,
10
);
if
(
token
==
endptr
||
errno
==
ERANGE
)
if
(
token
==
endptr
||
errno
==
ERANGE
)
{
{
*
duration
=
-
1
;
*
duration
=
-
1
;
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
*
duration
=
value
;
*
duration
=
value
;
}
}
else
else
{
{
errno
=
0
;
errno
=
0
;
double
d
=
strtof
(
token
,
&
endptr
);
double
d
=
strtof
(
token
,
&
endptr
);
if
(
token
==
endptr
||
errno
==
ERANGE
)
if
(
token
==
endptr
||
errno
==
ERANGE
)
{
{
*
duration
=
-
1
;
*
duration
=
-
1
;
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
...
...
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