Commit 685a0503 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #7431 from ArkadiuszRaj:pgm-16bit

parents 8e701a94 797030aa
......@@ -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