]> git.sesse.net Git - vlc/commitdiff
stream_filter/httplive.c: unbreak HTTP Live streams playback.
authorJean-Paul Saman <jean-paul.saman@m2x.nl>
Wed, 19 Jan 2011 16:13:09 +0000 (17:13 +0100)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>
Wed, 19 Jan 2011 16:13:09 +0000 (17:13 +0100)
commit id: c5f5039b2c950b5bb630e76d42103dd8c679f274 defined
a shadow variable psz_path which content is needed to correctly
construct a relative_URI().

modules/stream_filter/httplive.c

index 118440e0bdeb62250dadbfab32a416ca53844950..f3eb738c4b0703ecccaaaa8b5624c3169bd1cdb7 100644 (file)
@@ -431,7 +431,7 @@ static void parse_SegmentInformation(stream_t *s, hls_stream_t *hls, char *p_rea
     char *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)
         {
             p_sys->b_error = true;