From b8f282fd32223057bb7db3615b0600047dd54425 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 5 Jan 2019 08:41:09 +0100 Subject: demux_edl: explicitly error on unknown header types I think this is better. On the other hand, this is a behavior change. The EDL "spec" says that unknown fields are igored. But strictly speaking, unknown headers are not "fields", but unknown entities. --- demux/demux_edl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/demux/demux_edl.c b/demux/demux_edl.c index 748933ec94..98e31a79f2 100644 --- a/demux/demux_edl.c +++ b/demux/demux_edl.c @@ -153,6 +153,8 @@ static struct tl_parts *parse_edl(bstr str) struct tl_parts *ntl = talloc_zero(tl, struct tl_parts); tl->next = ntl; tl = ntl; + } else { + goto error; } } else { if (!p.filename) -- cgit v1.2.3