[vlc-commits] hls: Removing unused parameter.
Hugo Beauzée-Luyssen
git at videolan.org
Mon Mar 5 19:21:21 CET 2012
vlc/vlc-2.0 | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Fri Feb 24 15:14:20 2012 +0100| [aad03ab250ae7e46e5390c8824fcc5a422774228] | committer: Jean-Baptiste Kempf
hls: Removing unused parameter.
(cherry picked from commit 9db8e1cb64279947faea3d605fe3f99d7b74ce11)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=aad03ab250ae7e46e5390c8824fcc5a422774228
---
modules/stream_filter/httplive.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index 6389db0..984a390 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -585,7 +585,7 @@ static int parse_SegmentInformation(hls_stream_t *hls, char *p_read, int *durati
return VLC_SUCCESS;
}
-static int parse_AddSegment(stream_t *s, hls_stream_t *hls, const int duration, const char *uri)
+static int parse_AddSegment(hls_stream_t *hls, const int duration, const char *uri)
{
assert(hls);
assert(uri);
@@ -1050,7 +1050,7 @@ static int parse_M3U8(stream_t *s, vlc_array_t *streams, uint8_t *buffer, const
err = parse_EndList(s, hls);
else if ((strncmp(line, "#", 1) != 0) && (*line != '\0') )
{
- err = parse_AddSegment(s, hls, segment_duration, line);
+ err = parse_AddSegment(hls, segment_duration, line);
segment_duration = -1; /* reset duration */
}
More information about the vlc-commits
mailing list