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

pull/7471/head
Alexander Alekhin 8 years ago
commit 685a050339
  1. 2
      modules/imgcodecs/src/grfmt_pxm.cpp

@ -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
{

Loading…
Cancel
Save