mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Fix bug 77398
This commit is contained in:
@ -982,6 +982,7 @@ bool CPictFile::DecodeData()
|
||||
{
|
||||
if (!m_oImgData.m_pPixelData)
|
||||
m_oImgData.m_pPixelData = (BYTE*)malloc(4 * m_oImgData.m_nHeight * m_oImgData.m_nWidth);
|
||||
if (m_oFrame.get_Data())
|
||||
memcpy(m_oImgData.m_pPixelData, m_oFrame.get_Data(), 4 * m_oImgData.m_nHeight * m_oImgData.m_nWidth);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user