summaryrefslogtreecommitdiffstats
path: root/demux/demux_edl.c
diff options
context:
space:
mode:
Diffstat (limited to 'demux/demux_edl.c')
-rw-r--r--demux/demux_edl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux_edl.c b/demux/demux_edl.c
index 5bab4ae983..36a9c2cc3b 100644
--- a/demux/demux_edl.c
+++ b/demux/demux_edl.c
@@ -138,7 +138,7 @@ static struct tl_parts *parse_edl(bstr str)
bstr type = param_vals[0]; // value, because no "="
if (bstr_equals0(type, "mp4_dash")) {
tl->dash = true;
- if (bstr_equals0(param_names[1], "init"))
+ if (nparam > 1 && bstr_equals0(param_names[1], "init"))
tl->init_fragment_url = bstrto0(tl, param_vals[1]);
}
continue;