codec: Minor code cleanup
This commit is contained in:
parent
d72ff5d241
commit
4b65a95f5a
@ -662,7 +662,7 @@ static BOOL clear_decompress_bands_data(CLEAR_CONTEXT* clear,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
Stream_Read_UINT16(s, vBarHeader);;
|
Stream_Read_UINT16(s, vBarHeader);
|
||||||
suboffset += 2;
|
suboffset += 2;
|
||||||
vBarHeight = (yEnd - yStart + 1);
|
vBarHeight = (yEnd - yStart + 1);
|
||||||
|
|
||||||
@ -751,7 +751,6 @@ static BOOL clear_decompress_bands_data(CLEAR_CONTEXT* clear,
|
|||||||
}
|
}
|
||||||
|
|
||||||
suboffset += (vBarShortPixelCount * 3);
|
suboffset += (vBarShortPixelCount * 3);
|
||||||
vBarShortEntry->count = vBarShortPixelCount;
|
|
||||||
clear->ShortVBarStorageCursor =
|
clear->ShortVBarStorageCursor =
|
||||||
(clear->ShortVBarStorageCursor + 1) % CLEARCODEC_VBAR_SHORT_SIZE;
|
(clear->ShortVBarStorageCursor + 1) % CLEARCODEC_VBAR_SHORT_SIZE;
|
||||||
vBarUpdate = TRUE;
|
vBarUpdate = TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user