[vlc-commits] hls: Fixing hls_Copy
Hugo Beauzée-Luyssen
git at videolan.org
Tue Jan 24 19:31:59 CET 2012
vlc/vlc-1.2 | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Tue Jan 24 15:09:55 2012 +0100| [f6399b2266787a93e074fb83bf96b732f7ae8598] | committer: Jean-Baptiste Kempf
hls: Fixing hls_Copy
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit e618a5814917b1f966395ed3b45d1ca522a13692)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=f6399b2266787a93e074fb83bf96b732f7ae8598
---
modules/stream_filter/httplive.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index 82e9c37..3c52b83 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -266,6 +266,8 @@ static hls_stream_t *hls_Copy(hls_stream_t *src, const bool b_cp_segments)
dst->sequence = src->sequence;
dst->version = src->version;
dst->b_cache = src->b_cache;
+ dst->psz_current_key_path = src->psz_current_key_path ?
+ strdup( src->psz_current_key_path ) : NULL;
char *uri = ConstructUrl(&src->url);
if (uri == NULL)
{
More information about the vlc-commits
mailing list