Ignoring H264 decompression failures.

When connecting to windows 8.1 machines the remote RDP server
implementation sometimes sends invalid H264 data. To avoid client
disconnections ignore the broken updates.
This commit is contained in:
Armin Novak 2015-09-03 12:05:02 +02:00
parent e345feb5c1
commit 551eca246b
2 changed files with 4 additions and 4 deletions

View File

@ -478,8 +478,8 @@ UINT xf_SurfaceCommand_H264(xfContext* xfc, RdpgfxClientContext* context, RDPGFX
if (status < 0)
{
WLog_ERR(TAG, "h264_decompress failure: %d",status);
return ERROR_INTERNAL_ERROR;
WLog_WARN(TAG, "h264_decompress failure: %d, ignoring update.", status);
return CHANNEL_RC_OK;
}
for (i = 0; i < meta->numRegionRects; i++)

View File

@ -405,8 +405,8 @@ UINT gdi_SurfaceCommand_H264(rdpGdi* gdi, RdpgfxClientContext* context, RDPGFX_S
if (status < 0)
{
WLog_ERR(TAG, "h264_decompress failure: %d",status);
return ERROR_INTERNAL_ERROR;
WLog_WARN(TAG, "h264_decompress failure: %d, ignoring update.", status);
return CHANNEL_RC_OK;
}
for (i = 0; i < meta->numRegionRects; i++)