vlc | branch: master | Duncan Salerno <duncan.sale...@gmail.com> | Sun Sep 16 12:52:30 2012 +0100| [f7c5ce41c3576f3250b0427edf5498fbfed4c5c9] | committer: Jean-Baptiste Kempf
URI of HLS key can be relative, just like other URIs in the M3U8 file Signed-off-by: Jean-Baptiste Kempf <j...@videolan.org> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f7c5ce41c3576f3250b0427edf5498fbfed4c5c9 --- modules/stream_filter/httplive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c index 62bfd99..57825c8 100644 --- a/modules/stream_filter/httplive.c +++ b/modules/stream_filter/httplive.c @@ -775,7 +775,7 @@ static int parse_Key(stream_t *s, hls_stream_t *hls, char *p_read) if (end != NULL) *end = 0; } - hls->psz_current_key_path = strdup(uri); + hls->psz_current_key_path = relative_URI(hls->url, uri); free(value); value = iv = parse_Attributes(p_read, "IV"); _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org http://mailman.videolan.org/listinfo/vlc-commits