Skip to content

Commit 6fef085

Browse files
committed
PP20 bitbuffer start ptr should exclude the 4 'efficiency' bytes.
1 parent a99283f commit 6fef085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mmcmp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ static BOOL PP20_DoUnpack(const BYTE *pSrc, UINT nSrcLen, BYTE *pDst, UINT nDstL
431431
PPBITBUFFER BitBuffer;
432432
ULONG nBytesLeft;
433433

434-
BitBuffer.pStart = pSrc;
434+
BitBuffer.pStart = pSrc + 4;
435435
BitBuffer.pSrc = pSrc + nSrcLen - 4;
436436
BitBuffer.bitbuffer = 0;
437437
BitBuffer.bitcount = 0;

0 commit comments

Comments
 (0)