From e53a2ac41151224e5c05840a2912f594d441db03 Mon Sep 17 00:00:00 2001 From: James Rowe Date: Mon, 16 Dec 2019 19:18:33 -0700 Subject: [PATCH] Reenable AAC FFMPEG decoding Simple cut/paste issue where initialized is only set to true when the emulation attempts to init the Binary Pipe, but we used it to test if the FFMPEG decoder was valid and disabled it if it wasn't. Just return the value of have_ffmpeg_dl instead so when dynamic loading is added it'll still work. --- src/audio_core/hle/ffmpeg_decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio_core/hle/ffmpeg_decoder.cpp b/src/audio_core/hle/ffmpeg_decoder.cpp index 061decf13..a1b6d141f 100644 --- a/src/audio_core/hle/ffmpeg_decoder.cpp +++ b/src/audio_core/hle/ffmpeg_decoder.cpp @@ -13,7 +13,7 @@ public: ~Impl(); std::optional ProcessRequest(const BinaryRequest& request); bool IsValid() const { - return initalized; + return have_ffmpeg_dl; } private: