mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add a little more safety to Skippers
This commit is contained in:
@@ -295,6 +295,7 @@ namespace SabreTools.FileTypes
|
||||
// Try to match the supplied header skipper
|
||||
if (header != null)
|
||||
{
|
||||
SkipperMatch.Init();
|
||||
var rule = SkipperMatch.GetMatchingRule(input, Path.GetFileNameWithoutExtension(header));
|
||||
|
||||
// If there's a match, transform the stream before getting info
|
||||
|
||||
Reference in New Issue
Block a user