codec: Minor code cleanup

This commit is contained in:
Martin Fleisz 2016-12-05 13:43:45 +01:00
parent d72ff5d241
commit 4b65a95f5a

View File

@ -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;