mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-24 02:29:20 +01:00
audio_core: hle: mf: fix a regression...
... an introduction in 8f591d3b85714383196fd21e744a7eed5302ff0a
This commit is contained in:
parent
06316be8a7
commit
bee5ba3e33
@ -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<BinaryResponse> WMFDecoder::Impl::Decode(const BinaryRequest& requ
|
||||
continue;
|
||||
}
|
||||
|
||||
LOG_ERROR(Audio_DSP, "Errors occurred when receiving output");
|
||||
return response;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user