mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[codec,planar] fix decoder regression
This commit is contained in:
@@ -229,10 +229,6 @@ static INLINE INT32 planar_skip_plane_rle(const BYTE* WINPR_RESTRICT pSrcData, U
|
||||
|
||||
static inline UINT8 clamp(INT16 val)
|
||||
{
|
||||
if (val < 0)
|
||||
return 0;
|
||||
if (val > 0xFF)
|
||||
return 0xFF;
|
||||
return (UINT8)val;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user