msvidc32: Remove variable bit_per_pixel which is not really used from CRAM_Decompress and CRAM_DecompressEx.
This commit is contained in:
parent
6cad49da4b
commit
ba9b207274
@ -385,7 +385,6 @@ static LRESULT CRAM_DecompressBegin( Msvideo1Context *info, LPBITMAPINFO in, LPB
|
|||||||
static LRESULT CRAM_Decompress( Msvideo1Context *info, ICDECOMPRESS *icd, DWORD size )
|
static LRESULT CRAM_Decompress( Msvideo1Context *info, ICDECOMPRESS *icd, DWORD size )
|
||||||
{
|
{
|
||||||
LONG width, height, stride, sz;
|
LONG width, height, stride, sz;
|
||||||
WORD bit_per_pixel;
|
|
||||||
|
|
||||||
TRACE("ICM_DECOMPRESS %p %p %d\n", info, icd, size);
|
TRACE("ICM_DECOMPRESS %p %p %d\n", info, icd, size);
|
||||||
|
|
||||||
@ -396,7 +395,6 @@ static LRESULT CRAM_Decompress( Msvideo1Context *info, ICDECOMPRESS *icd, DWORD
|
|||||||
|
|
||||||
width = icd->lpbiInput->biWidth;
|
width = icd->lpbiInput->biWidth;
|
||||||
height = icd->lpbiInput->biHeight;
|
height = icd->lpbiInput->biHeight;
|
||||||
bit_per_pixel = icd->lpbiInput->biBitCount;
|
|
||||||
stride = width; /* in bytes or 16bit words */
|
stride = width; /* in bytes or 16bit words */
|
||||||
sz = icd->lpbiInput->biSizeImage;
|
sz = icd->lpbiInput->biSizeImage;
|
||||||
|
|
||||||
@ -417,7 +415,6 @@ static LRESULT CRAM_Decompress( Msvideo1Context *info, ICDECOMPRESS *icd, DWORD
|
|||||||
static LRESULT CRAM_DecompressEx( Msvideo1Context *info, ICDECOMPRESSEX *icd, DWORD size )
|
static LRESULT CRAM_DecompressEx( Msvideo1Context *info, ICDECOMPRESSEX *icd, DWORD size )
|
||||||
{
|
{
|
||||||
LONG width, height, stride, sz;
|
LONG width, height, stride, sz;
|
||||||
WORD bit_per_pixel;
|
|
||||||
|
|
||||||
TRACE("ICM_DECOMPRESSEX %p %p %d\n", info, icd, size);
|
TRACE("ICM_DECOMPRESSEX %p %p %d\n", info, icd, size);
|
||||||
|
|
||||||
@ -428,7 +425,6 @@ static LRESULT CRAM_DecompressEx( Msvideo1Context *info, ICDECOMPRESSEX *icd, DW
|
|||||||
|
|
||||||
width = icd->lpbiSrc->biWidth;
|
width = icd->lpbiSrc->biWidth;
|
||||||
height = icd->lpbiSrc->biHeight;
|
height = icd->lpbiSrc->biHeight;
|
||||||
bit_per_pixel = icd->lpbiSrc->biBitCount;
|
|
||||||
stride = width;
|
stride = width;
|
||||||
sz = icd->lpbiSrc->biSizeImage;
|
sz = icd->lpbiSrc->biSizeImage;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user