msvidc32: Use BOOL type where appropriate.
This commit is contained in:
parent
1ae3bcc94d
commit
aa2f454f37
|
@ -67,7 +67,7 @@ typedef BYTE uint8_t;
|
||||||
|
|
||||||
typedef struct Msvideo1Context {
|
typedef struct Msvideo1Context {
|
||||||
DWORD dwMagic;
|
DWORD dwMagic;
|
||||||
int mode_8bit; /* if it's not 8-bit, it's 16-bit */
|
BOOL mode_8bit; /* if it's not 8-bit, it's 16-bit */
|
||||||
} Msvideo1Context;
|
} Msvideo1Context;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -370,12 +370,12 @@ static LRESULT CRAM_DecompressBegin( Msvideo1Context *info, LPBITMAPINFO in, LPB
|
||||||
|
|
||||||
TRACE("bitmap is %d bpp\n", in->bmiHeader.biBitCount);
|
TRACE("bitmap is %d bpp\n", in->bmiHeader.biBitCount);
|
||||||
if( in->bmiHeader.biBitCount == 8 )
|
if( in->bmiHeader.biBitCount == 8 )
|
||||||
info->mode_8bit = 1;
|
info->mode_8bit = TRUE;
|
||||||
else if( in->bmiHeader.biBitCount == 16 )
|
else if( in->bmiHeader.biBitCount == 16 )
|
||||||
info->mode_8bit = 0;
|
info->mode_8bit = FALSE;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
info->mode_8bit = 0;
|
info->mode_8bit = FALSE;
|
||||||
FIXME("Unsupported output format %i\n", in->bmiHeader.biBitCount);
|
FIXME("Unsupported output format %i\n", in->bmiHeader.biBitCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue