From b0e8da6ee5e9119d999ce3c41718096517de9812 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Fri, 5 Mar 2021 15:25:07 +0100 Subject: [PATCH] Fix yuv444_combine_work_callback check_rect argument --- libfreerdp/codec/yuv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp/codec/yuv.c b/libfreerdp/codec/yuv.c index d102ffd8f..59958023a 100644 --- a/libfreerdp/codec/yuv.c +++ b/libfreerdp/codec/yuv.c @@ -330,7 +330,7 @@ static void CALLBACK yuv444_combine_work_callback(PTP_CALLBACK_INSTANCE instance WINPR_UNUSED(instance); WINPR_UNUSED(work); - if (!check_rect(context, rect, yuv->width, yuv->height)) + if (!check_rect(param->context, rect, yuv->width, yuv->height)) return; if (prims->YUV420CombineToYUV444(param->type, param->pYUVData, param->iStride, alignedWidth,