mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
committed by
Alexander Alekhin
parent
8f9c4d23e0
commit
443059e371
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user