From cf4b8a1ae9f1056e59df19fcc5c1ad8860e7f72b Mon Sep 17 00:00:00 2001 From: Martin Fleisz Date: Fri, 25 Nov 2016 10:47:00 +0100 Subject: [PATCH] primitives: Fix compiler error --- libfreerdp/primitives/prim_YUV.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp/primitives/prim_YUV.c b/libfreerdp/primitives/prim_YUV.c index 26b2aab..7320f33 100644 --- a/libfreerdp/primitives/prim_YUV.c +++ b/libfreerdp/primitives/prim_YUV.c @@ -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++) { -- 2.7.4