Fix a bug that prevented copying the decoded image into the output buffer when the output buffer is larger than the input image (#122)

* 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
This commit is contained in:
Aryan Salmanpour
2025-02-20 20:33:54 -05:00
committed by GitHub
parent 3876cdc088
commit e074cb2f9b
3 changed files with 73 additions and 2 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ THE SOFTWARE.
extern "C" {
#endif
#define ROCJPEG_MAJOR_VERSION 0
#define ROCJPEG_MINOR_VERSION 8
#define ROCJPEG_MINOR_VERSION 9
#define ROCJPEG_MICRO_VERSION 0