diff --git a/src/audio_core/hle/wmf_decoder.cpp b/src/audio_core/hle/wmf_decoder.cpp index 1a6e147ee..92b53750c 100644 --- a/src/audio_core/hle/wmf_decoder.cpp +++ b/src/audio_core/hle/wmf_decoder.cpp @@ -146,7 +146,9 @@ int WMFDecoder::Impl::DecodingLoop(ADTSData adts_header, if (output_status == HAVE_MORE_DATA) continue; - LOG_ERROR(Audio_DSP, "Errors occurred when receiving output: {}", output_status); + if (output_status == NEED_MORE_INPUT) // according to MS document, this is not an error (?!) + return 1; + return -1; // return on other status } @@ -214,6 +216,7 @@ std::optional WMFDecoder::Impl::Decode(const BinaryRequest& requ continue; } + LOG_ERROR(Audio_DSP, "Errors occurred when receiving output"); return response; }