Commit e618a581 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>
parent 98207119
...@@ -266,6 +266,8 @@ static hls_stream_t *hls_Copy(hls_stream_t *src, const bool b_cp_segments) ...@@ -266,6 +266,8 @@ static hls_stream_t *hls_Copy(hls_stream_t *src, const bool b_cp_segments)
dst->sequence = src->sequence; dst->sequence = src->sequence;
dst->version = src->version; dst->version = src->version;
dst->b_cache = src->b_cache; 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); char *uri = ConstructUrl(&src->url);
if (uri == NULL) 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