mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-25 20:25:42 +00:00
Should fix JPEG decoding tasks
This commit is contained in:
parent
c62f8cc7f4
commit
64c176288b
@ -2457,7 +2457,8 @@ int rjpeg_process_image(rjpeg_t *rjpeg, void **buf_data,
|
||||
if (!rjpeg)
|
||||
return IMAGE_PROCESS_ERROR;
|
||||
|
||||
rjpeg->output_image = (uint32_t*)rjpeg_load_from_memory(*buf, size, width, height, &comp, 4);
|
||||
rjpeg->output_image = (uint32_t*)rjpeg_load_from_memory(rjpeg->buff_data, size, width, height, &comp, 4);
|
||||
*buf_data = rjpeg->output_image;
|
||||
|
||||
return IMAGE_PROCESS_END;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user