libfreerdp-codec: fix error on empty RFX tileset, which can sometimes happen

This commit is contained in:
Marc-André Moreau 2016-05-11 13:53:34 -04:00
parent 54cdd6a1ae
commit 56f9b18276

View File

@ -815,8 +815,8 @@ static BOOL rfx_process_message_tileset(RFX_CONTEXT* context, RFX_MESSAGE* messa
if (message->numTiles < 1)
{
WLog_ERR(TAG, "no tiles.");
return FALSE;
/* Windows Server 2012 (not R2) can send empty tile sets */
return TRUE;
}
Stream_Read_UINT32(s, tilesDataSize); /* tilesDataSize (4 bytes) */