Fix regression, caused by typo in my last commit.

svn-id: r41621
This commit is contained in:
Travis Howell 2009-06-18 01:13:42 +00:00
parent e1c93e7342
commit 68cb22d4a9

View File

@ -1152,10 +1152,8 @@ static int wizPackType2(uint8 *dst, const uint8 *src, int srcPitch, const Common
if (dst) {
src += rCapt.top * srcPitch + rCapt.left * 2;
while (h--) {
for (int i = 0; i < w; i++) {
uint16 col = READ_UINT16(src + w * 2);
WRITE_LE_UINT16(dst + w * 2, col);
}
for (int i = 0; i < w; i++)
WRITE_LE_UINT16(dst + i * 2, READ_UINT16(src + i * 2));
dst += w * 2;
src += srcPitch;
}