- fix Svace issue(underflow array 'pLine[i - 1]')
Change-Id: I1274d08ff1d65c30465fe7f4a7ce9158d5357f1d
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
gstcs_fenter();
gstcs_retvm_if(pGstreamer_s->pipeline == NULL, GSTCS_ERROR_INVALID_PARAMETER, "Invalid pipeline");
+ gstcs_retvm_if((width == 0 || height == 0), GSTCS_ERROR_INVALID_PARAMETER, "Invalid width(%u) and height(%u)", width, height);
src_size = _mm_setup_image_size(color_format, stride, elevation);