libfreerdp-codec: fix xcrush level-1 compressor
This commit is contained in:
parent
d2d8c482fc
commit
8c7fbe3394
@ -25,6 +25,8 @@
|
||||
|
||||
#include <freerdp/codec/mppc.h>
|
||||
|
||||
#pragma pack(push,1)
|
||||
|
||||
struct _XCRUSH_MATCH_INFO
|
||||
{
|
||||
UINT32 MatchOffset;
|
||||
@ -65,6 +67,8 @@ struct _RDP61_COMPRESSED_DATA
|
||||
};
|
||||
typedef struct _RDP61_COMPRESSED_DATA RDP61_COMPRESSED_DATA;
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
struct _XCRUSH_CONTEXT
|
||||
{
|
||||
BOOL Compressor;
|
||||
|
@ -532,7 +532,7 @@ int xcrush_optimize_matches(XCRUSH_CONTEXT* xcrush)
|
||||
TotalMatchLength = 0;
|
||||
|
||||
OriginalMatches = xcrush->OriginalMatches;
|
||||
OriginalMatchCount = xcrush->OptimizedMatchCount;
|
||||
OriginalMatchCount = xcrush->OriginalMatchCount;
|
||||
|
||||
OptimizedMatches = xcrush->OptimizedMatches;
|
||||
OptimizedMatchCount = xcrush->OptimizedMatchCount;
|
||||
|
Loading…
Reference in New Issue
Block a user