mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +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)
|
if (!rjpeg)
|
||||||
return IMAGE_PROCESS_ERROR;
|
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;
|
return IMAGE_PROCESS_END;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user