Make functions static, fix declarations.
This commit is contained in:
parent
78911f34d9
commit
e8c1bf3283
@ -163,7 +163,7 @@ HRESULT WINAPI MediaSeekingImpl_ConvertTimeFormat(IMediaSeeking * iface, LONGLON
|
|||||||
return E_INVALIDARG;
|
return E_INVALIDARG;
|
||||||
}
|
}
|
||||||
|
|
||||||
__inline LONGLONG Adjust(LONGLONG value, LONGLONG * pModifier, DWORD dwFlags)
|
static inline LONGLONG Adjust(LONGLONG value, LONGLONG * pModifier, DWORD dwFlags)
|
||||||
{
|
{
|
||||||
switch (dwFlags & AM_SEEKING_PositioningBitsMask)
|
switch (dwFlags & AM_SEEKING_PositioningBitsMask)
|
||||||
{
|
{
|
||||||
|
@ -50,7 +50,7 @@ void FreeMediaType(AM_MEDIA_TYPE * pMediaType)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
AM_MEDIA_TYPE * CreateMediaType(AM_MEDIA_TYPE const * pSrc)
|
static AM_MEDIA_TYPE * CreateMediaType(AM_MEDIA_TYPE const * pSrc)
|
||||||
{
|
{
|
||||||
AM_MEDIA_TYPE * pDest;
|
AM_MEDIA_TYPE * pDest;
|
||||||
|
|
||||||
|
@ -21,16 +21,10 @@
|
|||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
|
|
||||||
#define COBJMACROS
|
#define COBJMACROS
|
||||||
#define COM_NO_WINDOWS_H
|
#define COM_NO_WINDOWS_H
|
||||||
|
|
||||||
#include "windef.h"
|
#include "quartz_private.h"
|
||||||
#include "winbase.h"
|
|
||||||
#include "winuser.h"
|
|
||||||
#include "ole2.h"
|
|
||||||
#include "strmif.h"
|
|
||||||
|
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
@ -677,7 +677,7 @@ typedef struct DATAREQUEST
|
|||||||
struct DATAREQUEST * pNext; /* next data request in list */
|
struct DATAREQUEST * pNext; /* next data request in list */
|
||||||
} DATAREQUEST;
|
} DATAREQUEST;
|
||||||
|
|
||||||
void queue(DATAREQUEST * pHead, DATAREQUEST * pItem)
|
static void queue(DATAREQUEST * pHead, DATAREQUEST * pItem)
|
||||||
{
|
{
|
||||||
DATAREQUEST * pCurrent;
|
DATAREQUEST * pCurrent;
|
||||||
for (pCurrent = pHead; pCurrent->pNext; pCurrent = pCurrent->pNext)
|
for (pCurrent = pHead; pCurrent->pNext; pCurrent = pCurrent->pNext)
|
||||||
|
@ -146,7 +146,7 @@ static HRESULT TransformFilter_InputPin_Construct(const PIN_INFO * pPinInfo, SAM
|
|||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT TransformFilter_OutputPin_Construct(const PIN_INFO * pPinInfo, ALLOCATOR_PROPERTIES *props, LPVOID pUserData, QUERYACCEPTPROC pQueryAccept, LPCRITICAL_SECTION pCritSec, IPin ** ppPin)
|
static HRESULT TransformFilter_OutputPin_Construct(const PIN_INFO * pPinInfo, ALLOCATOR_PROPERTIES *props, LPVOID pUserData, QUERYACCEPTPROC pQueryAccept, LPCRITICAL_SECTION pCritSec, IPin ** ppPin)
|
||||||
{
|
{
|
||||||
OutputPin * pPinImpl;
|
OutputPin * pPinImpl;
|
||||||
|
|
||||||
@ -497,7 +497,7 @@ static const IBaseFilterVtbl TransformFilter_Vtbl =
|
|||||||
TransformFilter_QueryVendorInfo
|
TransformFilter_QueryVendorInfo
|
||||||
};
|
};
|
||||||
|
|
||||||
HRESULT WINAPI TransformFilter_InputPin_EndOfStream(IPin * iface)
|
static HRESULT WINAPI TransformFilter_InputPin_EndOfStream(IPin * iface)
|
||||||
{
|
{
|
||||||
InputPin* This = (InputPin*) iface;
|
InputPin* This = (InputPin*) iface;
|
||||||
TransformFilterImpl* pTransform;
|
TransformFilterImpl* pTransform;
|
||||||
@ -545,7 +545,7 @@ static const IPinVtbl TransformFilter_InputPin_Vtbl =
|
|||||||
InputPin_NewSegment
|
InputPin_NewSegment
|
||||||
};
|
};
|
||||||
|
|
||||||
HRESULT WINAPI TransformFilter_Output_EnumMediaTypes(IPin * iface, IEnumMediaTypes ** ppEnum)
|
static HRESULT WINAPI TransformFilter_Output_EnumMediaTypes(IPin * iface, IEnumMediaTypes ** ppEnum)
|
||||||
{
|
{
|
||||||
IPinImpl *This = (IPinImpl *)iface;
|
IPinImpl *This = (IPinImpl *)iface;
|
||||||
ENUMMEDIADETAILS emd;
|
ENUMMEDIADETAILS emd;
|
||||||
@ -558,7 +558,7 @@ HRESULT WINAPI TransformFilter_Output_EnumMediaTypes(IPin * iface, IEnumMediaTyp
|
|||||||
return IEnumMediaTypesImpl_Construct(&emd, ppEnum);
|
return IEnumMediaTypesImpl_Construct(&emd, ppEnum);
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT WINAPI TransformFilter_Output_Disconnect(IPin * iface)
|
static HRESULT WINAPI TransformFilter_Output_Disconnect(IPin * iface)
|
||||||
{
|
{
|
||||||
OutputPin* This = (OutputPin*)iface;
|
OutputPin* This = (OutputPin*)iface;
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user