mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
Solution to issue #7408
This commit is contained in:
parent
dd379ec9fd
commit
797030aa90
@ -309,7 +309,7 @@ bool PxMDecoder::readData( Mat& img )
|
||||
}
|
||||
}
|
||||
else
|
||||
memcpy( data, src, m_width);
|
||||
memcpy( data, src, CV_ELEM_SIZE1(m_type)*m_width);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user