[vlc-commits] hls: Removing unused parameter.

Hugo Beauzée-Luyssen git at videolan.org
Fri Feb 24 15:14:53 CET 2012


vlc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Fri Feb 24 15:14:20 2012 +0100| [9db8e1cb64279947faea3d605fe3f99d7b74ce11] | committer: Hugo Beauzée-Luyssen

hls: Removing unused parameter.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9db8e1cb64279947faea3d605fe3f99d7b74ce11
---

 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 a0f722a..9915dee 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