| 3687 | } |
| 3688 | |
| 3689 | bool MediaInfo_Config::CustomMapping_IsPresent(const Ztring &Format, const Ztring &Field) |
| 3690 | { |
| 3691 | CriticalSectionLocker CSL(CS); |
| 3692 | std::map<Ztring, std::map<Ztring, Ztring> >::iterator PerFormat=CustomMapping.find(Format); |
| 3693 | if (PerFormat==CustomMapping.end()) |
| 3694 | return false; |
| 3695 | std::map<Ztring, Ztring>::iterator PerField=PerFormat->second.find(Field); |
| 3696 | if (PerField==PerFormat->second.end()) |
| 3697 | return false; |
| 3698 | return true; |
| 3699 | } |
| 3700 | |
| 3701 | //*************************************************************************** |
| 3702 | // Report changes |
no test coverage detected