e074cb2f9b
* 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