提交 443059e3 编写于 作者: A Alexander Alekhin 提交者: Alexander Alekhin

imgcodecs(pxm): fix memcpy size

7bbe1a53
上级 8f9c4d23
......@@ -331,7 +331,7 @@ bool PxMDecoder::readData( Mat& img )
}
}
else
memcpy( data, src, m_width*(bit_depth/8) );
memcpy(data, src, img.elemSize1()*m_width);
}
else
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册