A reporter on the forum is making their own DCPs that don't include
an essence type at some point which trips this check as it was before.
ASDCP::EssenceType_t type;
auto const result = ASDCP::EssenceType(dcp::filesystem::fix_long_path(path).string().c_str(), type);
- if (result != ASDCP::RESULT_OK) {
+ if (!ASDCP_SUCCESS(result)) {
throw ReadError(String::compose("Could not find essence type (%1)", result.Message()), path.string());
}
switch (type) {