[vlc-devel] [PATCH 32/48] hls: Removing useless pointer level.
Hugo Beauzée-Luyssen
beauze.h at gmail.com
Mon Jan 9 16:16:41 CET 2012
---
modules/stream_filter/httplive.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index 3ad555b..904dcac 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -628,7 +628,7 @@ static int parse_TargetDuration(stream_t *s, hls_stream_t *hls, char *p_read)
return VLC_SUCCESS;
}
-static int parse_StreamInformation(stream_t *s, vlc_array_t **hls_stream,
+static int parse_StreamInformation(stream_t *s, vlc_array_t *hls_stream,
hls_stream_t **hls, char *p_read, const char *uri)
{
int id;
@@ -665,7 +665,7 @@ static int parse_StreamInformation(stream_t *s, vlc_array_t **hls_stream,
char *psz_uri = relative_URI(uri, s->p_sys->m3u8_playlist);
- *hls = hls_New(*hls_stream, id, bw, psz_uri ? psz_uri : uri);
+ *hls = hls_New(hls_stream, id, bw, psz_uri ? psz_uri : uri);
free(psz_uri);
@@ -951,7 +951,7 @@ static int parse_M3U8(stream_t *s, vlc_array_t *streams, uint8_t *buffer, const
else
{
hls_stream_t *hls = NULL;
- err = parse_StreamInformation(s, &streams, &hls, line, uri);
+ err = parse_StreamInformation(s, streams, &hls, line, uri);
free(uri);
/* Download playlist file from server */
--
1.7.8.3
More information about the vlc-devel
mailing list