1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

imgcodecs(pxm): fix memcpy size

7bbe1a53cf
This commit is contained in:
Alexander Alekhin
2017-12-21 01:10:24 +00:00
committed by Alexander Alekhin
parent 8f9c4d23e0
commit 443059e371
+1 -1
View File
@@ -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
{