[Issue type] Fix
TCT need INVALID_DATA instead of INVALID_PARAMETER
Fixed:
7c71a2aa35c62247032f9ea0f7771badcf1d23a9
Change-Id: I5a7155513e51d183ea2f221822262d3e1a65064b
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
if (image_width <= 0 || image_height <= 0) {
LOGE("Barcode image size is invalid: %d x %d. Terminate write to the image operation", image_width,
image_height);
- return MEDIA_VISION_ERROR_INVALID_PARAMETER;
+ // TCT need INVALID_DATA instead of INVALID_PARAMETER
+ return MEDIA_VISION_ERROR_INVALID_DATA;
}
zint_symbol *symbol = ZBarcode_Create();