mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-20 04:00:08 +00:00
Fix WMF AAC decoder bug
This commit is contained in:
parent
e6ad0d390e
commit
20d823a42a
@ -163,9 +163,10 @@ MFOutputState WMFDecoder::Impl::DecodingLoop(ADTSData adts_header,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// in case of "ok" only, just return quickly
|
// If we return OK here, the decoder won't be in a state to receive new data and will fail
|
||||||
|
// on the next call; instead treat it like the HaveMoreData case
|
||||||
if (output_status == MFOutputState::OK)
|
if (output_status == MFOutputState::OK)
|
||||||
return MFOutputState::OK;
|
continue;
|
||||||
|
|
||||||
// for status = 2, reset MF
|
// for status = 2, reset MF
|
||||||
if (output_status == MFOutputState::NeedReconfig) {
|
if (output_status == MFOutputState::NeedReconfig) {
|
||||||
|
Loading…
Reference in New Issue
Block a user