[MPlayer-cvslog] r33706 - trunk/stream/tvi_dshow.c
diego
subversion at mplayerhq.hu
Wed Jun 22 15:48:31 CEST 2011
Author: diego
Date: Wed Jun 22 15:48:31 2011
New Revision: 33706
Log:
tvi_dshow: Mark functions not used outside of the file as static.
Modified:
trunk/stream/tvi_dshow.c
Modified: trunk/stream/tvi_dshow.c
==============================================================================
--- trunk/stream/tvi_dshow.c Wed Jun 22 15:48:25 2011 (r33705)
+++ trunk/stream/tvi_dshow.c Wed Jun 22 15:48:31 2011 (r33706)
@@ -506,7 +506,9 @@ static DEFINE_GUID(MEDIATYPE_VBI, 0xf7
* Methods, called only from this file
*---------------------------------------------------------------------------------------*/
-void set_buffer_preference(int nDiv,WAVEFORMATEX* pWF,IPin* pOutPin,IPin* pInPin){
+static void set_buffer_preference(int nDiv, WAVEFORMATEX *pWF,
+ IPin *pOutPin, IPin *pInPin)
+{
ALLOCATOR_PROPERTIES prop;
IAMBufferNegotiation* pBN;
HRESULT hr;
@@ -595,9 +597,10 @@ static long STDCALL CSampleGrabberCB_Rel
}
-HRESULT STDCALL CSampleGrabberCB_BufferCB(ISampleGrabberCB * This,
- double SampleTime,
- BYTE * pBuffer, long lBufferLen)
+static HRESULT STDCALL CSampleGrabberCB_BufferCB(ISampleGrabberCB *This,
+ double SampleTime,
+ BYTE *pBuffer,
+ long lBufferLen)
{
CSampleGrabberCB *this = (CSampleGrabberCB *) This;
grabber_ringbuffer_t *rb = this->pbuf;
@@ -629,9 +632,9 @@ HRESULT STDCALL CSampleGrabberCB_BufferC
}
/// wrapper. directshow does the same when BufferCB callback is requested
-HRESULT STDCALL CSampleGrabberCB_SampleCB(ISampleGrabberCB * This,
- double SampleTime,
- LPMEDIASAMPLE pSample)
+static HRESULT STDCALL CSampleGrabberCB_SampleCB(ISampleGrabberCB *This,
+ double SampleTime,
+ LPMEDIASAMPLE pSample)
{
char* buf;
long len;
More information about the MPlayer-cvslog
mailing list