1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 00:42:57 +00:00

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.
This commit is contained in:
wm4 2019-01-05 08:41:09 +01:00
parent 9f8d9c218b
commit b8f282fd32

View File

@ -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)