Remove pessimistic sanity check

This check creates false positive when using the flatpak runtime library
This commit is contained in:
gal20 2020-11-14 20:06:25 +02:00 committed by GitHub
parent d870651df7
commit 5683f86ed3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,14 +39,6 @@ FDKDecoder::Impl::Impl(Memory::MemorySystem& memory) : memory(memory) {
LOG_ERROR(Audio_DSP, "Failed to retrieve fdk_aac library information!"); LOG_ERROR(Audio_DSP, "Failed to retrieve fdk_aac library information!");
return; return;
} }
// This segment: identify the broken fdk_aac implementation
// and refuse to initialize if identified as broken (check for module IDs)
// although our AAC samples do not contain SBC feature, this is a way to detect
// watered down version of fdk_aac implementations
if (FDKlibInfo_getCapabilities(decoder_info, FDK_SBRDEC) == 0) {
LOG_ERROR(Audio_DSP, "Bad fdk_aac library found! Initialization aborted!");
return;
}
LOG_INFO(Audio_DSP, "Using fdk_aac version {} (build date: {})", decoder_info[0].versionStr, LOG_INFO(Audio_DSP, "Using fdk_aac version {} (build date: {})", decoder_info[0].versionStr,
decoder_info[0].build_date); decoder_info[0].build_date);