[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:
parent
cba9db727d
commit
b4355c0308
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user