[MPlayer-cvslog] r25710 - trunk/loader/dshow/DS_Filter.c

reimar subversion at mplayerhq.hu
Sun Jan 13 11:19:06 CET 2008


Author: reimar
Date: Sun Jan 13 11:19:06 2008
New Revision: 25710

Log:
Remove another 2 useless casts


Modified:
   trunk/loader/dshow/DS_Filter.c

Modified: trunk/loader/dshow/DS_Filter.c
==============================================================================
--- trunk/loader/dshow/DS_Filter.c	(original)
+++ trunk/loader/dshow/DS_Filter.c	Sun Jan 13 11:19:06 2008
@@ -98,9 +98,9 @@ void DS_Filter_Destroy(DS_Filter* This)
 static HRESULT STDCALL DS_Filter_CopySample(void* pUserData,IMediaSample* pSample){
     BYTE* pointer;
     int len;
-    SampleProcUserData* pData=(SampleProcUserData*)pUserData;
+    SampleProcUserData* pData=pUserData;
     Debug printf("CopySample called(%p,%p)\n",pSample,pUserData);
-    if (pSample->vt->GetPointer(pSample, (BYTE**) &pointer))
+    if (pSample->vt->GetPointer(pSample, &pointer))
 	return 1;
     len = pSample->vt->GetActualDataLength(pSample);
     if (len == 0)



More information about the MPlayer-cvslog mailing list