mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-08 16:05:56 +00:00
ajm: do not crash on codec error
This commit is contained in:
parent
74e1b4d8b2
commit
1497d01fed
1 changed files with 3 additions and 1 deletions
|
|
@ -476,7 +476,9 @@ static orbis::ErrorCode ajm_ioctl(orbis::File *file, std::uint64_t request,
|
|||
instance.at9.superFrameSize,
|
||||
instance.at9.frameSamples, instance.at9.handle,
|
||||
totalDecodedBytes, outputWritten);
|
||||
std::abort();
|
||||
result->codecResult = err;
|
||||
result->result |= AJM_RESULT_CODEC_ERROR | AJM_RESULT_FATAL;
|
||||
break;
|
||||
}
|
||||
|
||||
instance.at9.estimatedSizeUsed =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue