Commit f7c5ce41 authored by Duncan Salerno's avatar Duncan Salerno Committed by Jean-Baptiste Kempf

URI of HLS key can be relative, just like other URIs in the M3U8 file

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 0c1f44e8
......@@ -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");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment