[APU] Removed old hack that invalidates input on decoder error

Added returning parsing error while decoder fails
This commit is contained in:
Gliniak
2022-11-26 17:25:39 +01:00
parent 6e541536dd
commit 9fdfd2ada9
2 changed files with 3 additions and 4 deletions

View File

@@ -633,9 +633,8 @@ void XmaContext::Decode(XMA_CONTEXT_DATA* data) {
*/
if (ret < 0) {
XELOGE("XmaContext {}: Error during decoding", id());
data->input_buffer_0_valid = 0;
data->input_buffer_1_valid = 0;
data->parser_error_status = 4; // TODO(Gliniak): Find all parsing errors
// and create enumerator from them
assert_always();
return; // TODO bail out
}