Commit 80f1a853 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

hls: Cosmetics.

parent fc50e57a
......@@ -579,7 +579,7 @@ static int parse_SegmentInformation(hls_stream_t *hls, char *p_read, int *durati
{
errno = 0;
value = strtol(token, &endptr, 10);
if (token == endptr || errno == ERANGE )
if (token == endptr || errno == ERANGE)
{
*duration = -1;
return VLC_EGENERIC;
......@@ -590,7 +590,7 @@ static int parse_SegmentInformation(hls_stream_t *hls, char *p_read, int *durati
{
errno = 0;
double d = strtof(token, &endptr);
if (token == endptr || errno == ERANGE )
if (token == endptr || errno == ERANGE)
{
*duration = -1;
return VLC_EGENERIC;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment