Solution to issue #7408

This commit is contained in:
ArkadiuszRaj 2016-10-07 21:29:08 +02:00
parent dd379ec9fd
commit 797030aa90

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
{