summaryrefslogtreecommitdiff
path: root/src/Dict.cpp
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2021-11-10 12:51:41 -0800
committerjhurst <jhurst@cinecert.com>2021-11-10 12:51:41 -0800
commitfeba38c3802863fe783a750e0f866af9ad834f7f (patch)
treea01d3175a4555200c94d4b712f9b98dd8507b34a /src/Dict.cpp
parentcb71c195e60f12b5827e5087d12d4af94845e7af (diff)
Added a new UL matching operator MatchIgnorePlaceholder()
Diffstat (limited to 'src/Dict.cpp')
-rwxr-xr-xsrc/Dict.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Dict.cpp b/src/Dict.cpp
index 752b81a..d890f83 100755
--- a/src/Dict.cpp
+++ b/src/Dict.cpp
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2006-2018, John Hurst
+Copyright (c) 2006-2021, John Hurst
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -322,6 +322,10 @@ ASDCP::Dictionary::FindULAnyVersion(const byte_t* ul_buf) const
{
found_entry = &m_MDD_Table[lower->second];
}
+ else if ( found_entry == 0 && lower->first.MatchIgnorePlaceholder(target) )
+ {
+ found_entry = &m_MDD_Table[lower->second];
+ }
else if ( found_entry != 0 && ! lower->first.MatchIgnoreStream(target) )
{
break;