mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
Merge pull request #7431 from ArkadiuszRaj:pgm-16bit
This commit is contained in:
commit
685a050339
@ -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