mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user