vlc-video: Use case insensitive compare for valid extension check

It's possible for files to have some/all characters uppercase.

Fixes #3562
This commit is contained in:
Matt Gajownik 2020-11-01 12:24:30 +11:00 committed by Jim
parent 5662ec6991
commit 737481c09e

View File

@ -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;
}