Commit 33489c92 authored by Jean-Paul Saman's avatar Jean-Paul Saman

stream_filter/httplive.c: Remove stream_t* argument from parse_SegmentInformation()

The variable stream_t *s in function parse_SegmentInformation() was not used.
parent 0d02e6fb
......@@ -499,10 +499,8 @@ static char *ConstructUrl(vlc_url_t *url)
return psz_url;
}
static int parse_SegmentInformation(stream_t *s, hls_stream_t *hls, char *p_read, int *duration)
static int parse_SegmentInformation(hls_stream_t *hls, char *p_read, int *duration)
{
VLC_UNUSED(s);
assert(hls);
assert(p_read);
......@@ -899,7 +897,7 @@ static int parse_M3U8(stream_t *s, vlc_array_t *streams, uint8_t *buffer, const
p_begin = p_read;
if (strncmp(line, "#EXTINF", 7) == 0)
err = parse_SegmentInformation(s, hls, line, &segment_duration);
err = parse_SegmentInformation(hls, line, &segment_duration);
else if (strncmp(line, "#EXT-X-TARGETDURATION", 21) == 0)
err = parse_TargetDuration(s, hls, line);
else if (strncmp(line, "#EXT-X-MEDIA-SEQUENCE", 21) == 0)
......
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