Added freerdp_planar_switch_bgr to test

This commit is contained in:
Armin Novak 2021-03-17 09:36:56 +01:00 committed by akallabeth
parent d6ba9c1da5
commit 1407925aba

View File

@ -5753,6 +5753,7 @@ static BOOL FuzzPlanar(void)
", nDstHeight=%" PRIu32 ", nDstStep=%" PRIu32 ", total size=%" PRIuz "\n",
FreeRDPGetColorFormatName(DstFormat), nXDst, nYDst, nDstWidth, nDstHeight, nDstStep,
sizeof(dstData));
freerdp_planar_switch_bgr(planar, rand() % 2);
planar_decompress(planar, data, dataSize, prand(4096), prand(4096), dstData, DstFormat,
nDstStep, nXDst, nYDst, nDstWidth, nDstHeight, prand(2));
}