mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Merge pull request #7431 from ArkadiuszRaj:pgm-16bit
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user