mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[codecs] fix R and B inversion when decoding planar
This commit is contained in:
@@ -888,6 +888,8 @@ BOOL planar_decompress(BITMAP_PLANAR_CONTEXT* planar, const BYTE* pSrcData, UINT
|
||||
else
|
||||
TempFormat = PIXEL_FORMAT_BGRX32;
|
||||
|
||||
TempFormat = planar_invert_format(planar, alpha, TempFormat);
|
||||
|
||||
if ((TempFormat != DstFormat) || (nSrcWidth != nDstWidth) || (nSrcHeight != nDstHeight))
|
||||
{
|
||||
pTempData = planar->pTempData;
|
||||
|
||||
Reference in New Issue
Block a user