quartz: Use BOOL type where appropriate.

This commit is contained in:
Frédéric Delanoy 2013-10-25 00:19:07 +02:00 committed by Alexandre Julliard
parent 38adec4ac5
commit ec5da171e6
3 changed files with 7 additions and 7 deletions

View File

@ -64,7 +64,7 @@ typedef struct StreamData
DWORD entries;
AVISTDINDEX **stdindex;
DWORD frames;
DWORD seek;
BOOL seek;
/* Position, in index units */
DWORD pos, pos_next, index, index_next;
@ -448,7 +448,7 @@ static HRESULT AVISplitter_first_request(LPVOID iface)
stream->index_next = stream->index;
/* This was sent after stopped->paused or stopped->playing, so set seek */
stream->seek = 1;
stream->seek = TRUE;
/* There should be a packet queued from AVISplitter_next_request last time
* It needs to be done now because this is the only way to ensure that every
@ -973,7 +973,7 @@ static HRESULT AVISplitter_InitializeStreams(AVISplitterImpl *This)
DWORD y;
DWORD64 frames = 0;
stream->seek = 1;
stream->seek = TRUE;
if (stream->stdindex)
{
@ -1320,7 +1320,7 @@ static HRESULT WINAPI AVISplitter_seek(IMediaSeeking *iface)
pin->dwSamplesProcessed = 0;
stream->index = 0;
stream->pos = 0;
stream->seek = 1;
stream->seek = TRUE;
if (stream->stdindex)
{
DWORD y, z = 0;
@ -1396,7 +1396,7 @@ static HRESULT WINAPI AVISplitter_seek(IMediaSeeking *iface)
stream->index = 0;
}
stream->preroll = preroll;
stream->seek = 1;
stream->seek = TRUE;
}
LeaveCriticalSection(&This->Parser.filter.csFilter);

View File

@ -88,7 +88,7 @@ static int EventsQueue_Destroy(EventsQueue* omr)
return TRUE;
}
static int EventsQueue_PutEvent(EventsQueue* omr, const Event* evt)
static BOOL EventsQueue_PutEvent(EventsQueue* omr, const Event* evt)
{
EnterCriticalSection(&omr->msg_crst);
if (omr->msg_toget == ((omr->msg_tosave + 1) % omr->ring_buffer_size))

View File

@ -1031,7 +1031,7 @@ HRESULT VideoRenderer_create(IUnknown *pUnkOuter, void **ppv)
pVideoRenderer->IUnknown_inner.lpVtbl = &IInner_VTable;
pVideoRenderer->IAMFilterMiscFlags_iface.lpVtbl = &IAMFilterMiscFlags_Vtbl;
pVideoRenderer->init = 0;
pVideoRenderer->init = FALSE;
ZeroMemory(&pVideoRenderer->SourceRect, sizeof(RECT));
ZeroMemory(&pVideoRenderer->DestRect, sizeof(RECT));
ZeroMemory(&pVideoRenderer->WindowPos, sizeof(RECT));