1
0
Fork 0

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.
This commit is contained in:
James Rowe 2019-12-16 19:18:33 -07:00
parent 439d550850
commit e53a2ac411
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ public:
~Impl(); ~Impl();
std::optional<BinaryResponse> ProcessRequest(const BinaryRequest& request); std::optional<BinaryResponse> ProcessRequest(const BinaryRequest& request);
bool IsValid() const { bool IsValid() const {
return initalized; return have_ffmpeg_dl;
} }
private: private: