diff --git a/DVD/CSS.cs b/DVD/CSS.cs index 8a3cd2f..e9acc58 100644 --- a/DVD/CSS.cs +++ b/DVD/CSS.cs @@ -978,7 +978,7 @@ public class CSS { while(fs.ReadDir(node, out string entry) == ErrorNumber.NoError && entry is not null) { - if(!entry.ToLower().EndsWith(".vob")) + if(!entry.EndsWith(".vob", StringComparison.InvariantCultureIgnoreCase)) continue; fs.Stat("VIDEO_TS" + "/" + entry, out FileEntryInfo stat);