From 5683f86ed33a23f9766b2d9a5f54b7a0729fa8e0 Mon Sep 17 00:00:00 2001 From: gal20 <71563441+gal20@users.noreply.github.com> Date: Sat, 14 Nov 2020 20:06:25 +0200 Subject: [PATCH] Remove pessimistic sanity check This check creates false positive when using the flatpak runtime library --- src/audio_core/hle/fdk_decoder.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/audio_core/hle/fdk_decoder.cpp b/src/audio_core/hle/fdk_decoder.cpp index 0dac8fd5d..ebf5a676f 100644 --- a/src/audio_core/hle/fdk_decoder.cpp +++ b/src/audio_core/hle/fdk_decoder.cpp @@ -39,14 +39,6 @@ FDKDecoder::Impl::Impl(Memory::MemorySystem& memory) : memory(memory) { LOG_ERROR(Audio_DSP, "Failed to retrieve fdk_aac library information!"); 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, decoder_info[0].build_date);