CTest: Add a test to perform negative testing on all rocJPEG APIs (#143)
* CTest: Add a test to perform negative testing on all rocJPEG APIs * clean up
This commit is contained in:
1 förälder
37efebb5a7
incheckning
232a9c6906
8 files changed
+584
-1
No files matched your search
@@ -89,6 +89,8 @@ RocJpegStatus RocJpegDecoder::InitializeDecoder() {
|
||||
}
|
||||
} else if (backend_ == ROCJPEG_BACKEND_HYBRID) {
|
||||
return ROCJPEG_STATUS_NOT_IMPLEMENTED;
|
||||
} else {
|
||||
return ROCJPEG_STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
return rocjpeg_status;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user