mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
don't use constructors for C API structures
This commit is contained in:
@@ -652,7 +652,7 @@ cvConvertImage( const CvArr* srcarr, CvArr* dstarr, int flags )
|
||||
uchar *s = src->data.ptr, *d = dst->data.ptr;
|
||||
int s_step = src->step, d_step = dst->step;
|
||||
int code = src_cn*10 + dst_cn;
|
||||
CvSize size(src->cols, src->rows);
|
||||
CvSize size = {src->cols, src->rows};
|
||||
|
||||
if( CV_IS_MAT_CONT(src->type & dst->type) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user