[vlc-commits] stream_filter/httplive.c: unbreak HTTP Live streams playback.

Jean-Paul Saman git at videolan.org
Wed Jan 19 17:14:45 CET 2011


vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Wed Jan 19 17:13:09 2011 +0100| [b15532895cf0eeb81e9cade16e57338531245d94] | committer: Jean-Paul Saman

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

commit id: c5f5039b2c950b5bb630e76d42103dd8c679f274 defined
a shadow variable psz_path which content is needed to correctly
construct a relative_URI().

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b15532895cf0eeb81e9cade16e57338531245d94
---

 modules/stream_filter/httplive.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index 118440e..f3eb738 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -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;



More information about the vlc-commits mailing list