mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-24 02:29:20 +01:00
Remove pessimistic sanity check
This check creates false positive when using the flatpak runtime library
This commit is contained in:
parent
d870651df7
commit
5683f86ed3
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user