MCPcopy Create free account
hub / github.com/MediaArea/MediaInfoLib / Fill_Conformance

Method Fill_Conformance

Source/MediaInfo/File__Analyze.cpp:277–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275 return Result;
276}
277void conformance::Fill_Conformance(const char* Field, const char* Value, bitset8 Flags, conformance_type Level, stream_t StreamKind, size_t StreamPos)
278{
279 if (Level == Conformance_Warning && Warning_Error)
280 Level = Conformance_Error;
281 field_value FieldValue(Field, Value, Flags, (int64u)-1, (int64u)-1, IsParsingRaw >= 2 ? (IsParsingRaw - 2) : (int64u)-1, (int64u)-1, (int64u)-1);
282 auto& Conformance = ConformanceErrors[Level];
283 auto Current = find(Conformance.begin(), Conformance.end(), FieldValue);
284 if (Current != Conformance.end())
285 return;
286 Conformance.emplace_back(FieldValue);
287}
288#endif
289
290//---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 4

WarningErrorMethod · 0.80
RemainMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected