pDst was advanced too much when decoding DELTA blocks.
This commit is contained in:
parent
b7beb7278f
commit
c4fdd2ea24
|
@ -89,7 +89,7 @@ static LONG MSRLE32_DecompressRLE8(
|
||||||
delta_y = (LONG)*pSrc++;
|
delta_y = (LONG)*pSrc++;
|
||||||
x += delta_x;
|
x += delta_x;
|
||||||
y += delta_y;
|
y += delta_y;
|
||||||
pDst += delta_y * pitch + delta_x;
|
pDst += delta_y * pitch;
|
||||||
break;
|
break;
|
||||||
default: /* RAW */
|
default: /* RAW */
|
||||||
len = data;
|
len = data;
|
||||||
|
|
Loading…
Reference in New Issue