Commit 797030aa authored by ArkadiuszRaj's avatar ArkadiuszRaj

Solution to issue #7408

parent dd379ec9
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment