Merge pull request #7431 from ArkadiuszRaj:pgm-16bit

This commit is contained in:
Alexander Alekhin 2016-10-12 09:52:04 +00:00
commit 685a050339

View File

@ -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
{