[codecs] fix freerdp_bitmap_planar_context_new call

freerdp_bitmap_planar_context_new() expects flags as first argument not a BOOL,
even if giving FALSE ends with the same result, it makes it more clear.
This commit is contained in:
David Fort 2023-05-16 10:33:47 +02:00 committed by akallabeth
parent cba9db727d
commit b4355c0308

View File

@ -110,7 +110,7 @@ BOOL freerdp_client_codecs_prepare(rdpCodecs* codecs, UINT32 flags, UINT32 width
if ((flags & FREERDP_CODEC_PLANAR))
{
if (!(codecs->planar = freerdp_bitmap_planar_context_new(FALSE, 64, 64)))
if (!(codecs->planar = freerdp_bitmap_planar_context_new(0, 64, 64)))
{
WLog_ERR(TAG, "Failed to create planar bitmap codec context");
return FALSE;