Merge pull request #3716 from akallabeth/planar_warning_fix
Fixed uninitialized variable warning.
This commit is contained in:
commit
5f26641b65
@ -1121,7 +1121,7 @@ BYTE* freerdp_bitmap_compress_planar(BITMAP_PLANAR_CONTEXT* context,
|
|||||||
UINT32 size;
|
UINT32 size;
|
||||||
BYTE* dstp;
|
BYTE* dstp;
|
||||||
UINT32 planeSize;
|
UINT32 planeSize;
|
||||||
UINT32 dstSizes[4];
|
UINT32 dstSizes[4] = { 0 };
|
||||||
BYTE FormatHeader = 0;
|
BYTE FormatHeader = 0;
|
||||||
|
|
||||||
if (!context || !context->rlePlanesBuffer)
|
if (!context || !context->rlePlanesBuffer)
|
||||||
|
Loading…
Reference in New Issue
Block a user