Commit f6399b22 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

hls: Fixing hls_Copy

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit e618a5814917b1f966395ed3b45d1ca522a13692)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2fd6ea3a
......@@ -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)
{
......
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