mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
libfreerdp-core: fix an trivial mistake in reading codec caps.
This commit is contained in:
@@ -1381,7 +1381,7 @@ void rdp_read_bitmap_codecs_capability_set(STREAM* s, rdpSettings* settings)
|
||||
stream_read_uint8(s, settings->rfx_codec_id);
|
||||
settings->rfx_codec = True;
|
||||
}
|
||||
if (settings->server_mode && strncmp((char*)stream_get_tail(s),CODEC_GUID_NSCODEC, 16) == 0)
|
||||
else if (settings->server_mode && strncmp((char*)stream_get_tail(s),CODEC_GUID_NSCODEC, 16) == 0)
|
||||
{
|
||||
stream_seek(s, 16); /*codec GUID (16 bytes) */
|
||||
stream_read_uint8(s, settings->ns_codec_id);
|
||||
|
||||
Reference in New Issue
Block a user