From 737481c09eeab164b49dceeaba8d4ed7e347e5d5 Mon Sep 17 00:00:00 2001 From: Matt Gajownik Date: Sun, 1 Nov 2020 12:24:30 +1100 Subject: [PATCH] vlc-video: Use case insensitive compare for valid extension check It's possible for files to have some/all characters uppercase. Fixes #3562 --- plugins/vlc-video/vlc-video-source.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/vlc-video/vlc-video-source.c b/plugins/vlc-video/vlc-video-source.c index fe9eabf3d..a79d3192f 100644 --- a/plugins/vlc-video/vlc-video-source.c +++ b/plugins/vlc-video/vlc-video-source.c @@ -554,7 +554,7 @@ static bool valid_extension(const char *ext) else dstr_copy(&test, b); - if (dstr_cmp(&test, ext) == 0) { + if (dstr_cmpi(&test, ext) == 0) { valid = true; break; }