Browse Source

dshow: Change WINBOOL to BOOL

WINBOOL is MinGW-specific, and since both MSVC and MinGW
have BOOL, use that instead.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Derek Buitenhuis Michael Niedermayer 12 years ago
parent
commit
80d2ec6bc9
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libavdevice/dshow_capture.h
  2. +1
    -1
      libavdevice/dshow_pin.c

+ 1
- 1
libavdevice/dshow_capture.h View File

@@ -179,7 +179,7 @@ long WINAPI libAVMemInputPin_QueryInterface (libAVMemInputPin
unsigned long WINAPI libAVMemInputPin_AddRef (libAVMemInputPin *); unsigned long WINAPI libAVMemInputPin_AddRef (libAVMemInputPin *);
unsigned long WINAPI libAVMemInputPin_Release (libAVMemInputPin *); unsigned long WINAPI libAVMemInputPin_Release (libAVMemInputPin *);
long WINAPI libAVMemInputPin_GetAllocator (libAVMemInputPin *, IMemAllocator **); long WINAPI libAVMemInputPin_GetAllocator (libAVMemInputPin *, IMemAllocator **);
long WINAPI libAVMemInputPin_NotifyAllocator (libAVMemInputPin *, IMemAllocator *, WINBOOL);
long WINAPI libAVMemInputPin_NotifyAllocator (libAVMemInputPin *, IMemAllocator *, BOOL);
long WINAPI libAVMemInputPin_GetAllocatorRequirements(libAVMemInputPin *, ALLOCATOR_PROPERTIES *); long WINAPI libAVMemInputPin_GetAllocatorRequirements(libAVMemInputPin *, ALLOCATOR_PROPERTIES *);
long WINAPI libAVMemInputPin_Receive (libAVMemInputPin *, IMediaSample *); long WINAPI libAVMemInputPin_Receive (libAVMemInputPin *, IMediaSample *);
long WINAPI libAVMemInputPin_ReceiveMultiple (libAVMemInputPin *, IMediaSample **, long, long *); long WINAPI libAVMemInputPin_ReceiveMultiple (libAVMemInputPin *, IMediaSample **, long, long *);


+ 1
- 1
libavdevice/dshow_pin.c View File

@@ -286,7 +286,7 @@ libAVMemInputPin_GetAllocator(libAVMemInputPin *this, IMemAllocator **alloc)
} }
long WINAPI long WINAPI
libAVMemInputPin_NotifyAllocator(libAVMemInputPin *this, IMemAllocator *alloc, libAVMemInputPin_NotifyAllocator(libAVMemInputPin *this, IMemAllocator *alloc,
WINBOOL rdwr)
BOOL rdwr)
{ {
dshowdebug("libAVMemInputPin_NotifyAllocator(%p)\n", this); dshowdebug("libAVMemInputPin_NotifyAllocator(%p)\n", this);
return S_OK; return S_OK;


Loading…
Cancel
Save