Merge pull request #10369 from alalek:issue_10351
This commit is contained in:
commit
70d49446e9
@ -333,7 +333,7 @@ bool PxMDecoder::readData( Mat& img )
|
||||
}
|
||||
}
|
||||
else
|
||||
memcpy( data, src, CV_ELEM_SIZE1(m_type)*m_width);
|
||||
memcpy(data, src, img.elemSize1()*m_width);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user