mirror of https://github.com/FreeRDP/FreeRDP
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:
parent
e345feb5c1
commit
551eca246b
|
@ -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++)
|
||||
|
|
|
@ -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++)
|
||||
|
|
Loading…
Reference in New Issue