projects
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f00ce0d
)
hds: fix crash if bootstrap data or URL are missing
author
Tristan Matthews
<tmatth@videolan.org>
Wed, 16 Oct 2024 19:29:35 +0000
(15:29 -0400)
committer
Sebastian Ramacher
<sramacher@debian.org>
Tue, 14 Jan 2025 22:09:47 +0000
(23:09 +0100)
(cherry picked from commit
01934b339cf5f467c9c2e3a7fb61c7458347684c
)
Gbp-Pq: Name 0080-hds-fix-crash-if-bootstrap-data-or-URL-are-missing.patch
modules/stream_filter/hds/hds.c
patch
|
blob
|
history
diff --git
a/modules/stream_filter/hds/hds.c
b/modules/stream_filter/hds/hds.c
index 631691f64e738e4113628ae4d1007f27c18719f1..4d55538ada076be5fa7f70ee0e136a376b65176f 100644
(file)
--- a/
modules/stream_filter/hds/hds.c
+++ b/
modules/stream_filter/hds/hds.c
@@
-1557,7
+1557,7
@@
static int parse_Manifest( stream_t *s, manifest_t *m )
new_stream->metadata_len = medias[i].metadata_len;
}
- if( ! sys->live )
+ if( ! sys->live
&& bootstraps[j].data
)
{
parse_BootstrapData( (vlc_object_t*)s,
new_stream,
@@
-1579,7
+1579,7
@@
static int parse_Manifest( stream_t *s, manifest_t *m )
total_duration += chunk->duration;
}
}
- else
+ else
if( bootstraps[j].url )
{
if( !(new_stream->abst_url = strdup( bootstraps[j].url ) ) )
{