diff --git a/demux/demux_edl.c b/demux/demux_edl.c index 356b7eefb515e..55af55366166c 100644 --- a/demux/demux_edl.c +++ b/demux/demux_edl.c @@ -567,7 +567,7 @@ static struct timeline_par *build_timeline(struct timeline *root, static void fix_filenames(struct tl_parts *parts, char *source_path) { - if (bstr_equals0(mp_split_proto(bstr0(source_path), NULL), "edl")) + if (!bstrcasecmp0(mp_split_proto(bstr0(source_path), NULL), "edl")) return; struct bstr dirname = mp_dirname(source_path); for (int n = 0; n < parts->num_parts; n++) {