[vlc-commits] stream_filter/httplive.c: Remove stream_t* argument from parse_SegmentInformation()
Jean-Paul Saman
git at videolan.org
Wed May 11 12:49:41 CEST 2011
vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Wed May 11 12:18:06 2011 +0200| [33489c928ca049392690947f38e4827108127432] | committer: 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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=33489c928ca049392690947f38e4827108127432
---
modules/stream_filter/httplive.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index 6346a70..5ce7e78 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -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)
More information about the vlc-commits
mailing list