Commit b1553289 authored by Jean-Paul Saman's avatar Jean-Paul Saman

stream_filter/httplive.c: unbreak HTTP Live streams playback.

commit id: c5f5039b defined
a shadow variable psz_path which content is needed to correctly
construct a relative_URI().
parent c7618180
...@@ -431,7 +431,7 @@ static void parse_SegmentInformation(stream_t *s, hls_stream_t *hls, char *p_rea ...@@ -431,7 +431,7 @@ static void parse_SegmentInformation(stream_t *s, hls_stream_t *hls, char *p_rea
char *psz_path = NULL; char *psz_path = NULL;
if (hls->url.psz_path != NULL) if (hls->url.psz_path != NULL)
{ {
char *psz_path = strdup(hls->url.psz_path); psz_path = strdup(hls->url.psz_path);
if (psz_path == NULL) if (psz_path == NULL)
{ {
p_sys->b_error = true; p_sys->b_error = true;
......
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