* Fix a bug that prevented copying the decoded image into the output buffer when the output buffer is larger than the input image * add check for a valid roi_width [ROCm/rocjpeg commit: e074cb2f9b]
e074cb2f9b