Merge pull request #3624 from mfleisz/comp_fix

primitives: Fix compiler error
This commit is contained in:
akallabeth 2016-11-25 11:12:10 +01:00 committed by GitHub
commit 3e6c54f9bd

View File

@ -429,9 +429,9 @@ static pstatus_t general_YUV444ToRGB_8u_P3AC4R(
UINT32 x, y;
UINT32 nWidth, nHeight;
const DWORD formatSize = GetBytesPerPixel(DstFormat);
fkt_writeYUVPixel writeYUVPixel = getWriteFunction(DstFormat);
nWidth = roi->width;
nHeight = roi->height;
fkt_writeYUVPixel writeYUVPixel = getWriteFunction(DstFormat);
for (y = 0; y < nHeight; y++)
{