# HG changeset patch # User reimar # Date 1200219546 0 # Node ID 09f31d37d7174f8b7c285e25c16c8db040f4518f # Parent 355f24f329d4757ea56e5c5eed5a6bb325c820a7 Remove another 2 useless casts diff -r 355f24f329d4 -r 09f31d37d717 loader/dshow/DS_Filter.c --- a/loader/dshow/DS_Filter.c Sun Jan 13 10:09:39 2008 +0000 +++ b/loader/dshow/DS_Filter.c Sun Jan 13 10:19:06 2008 +0000 @@ -98,9 +98,9 @@ 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)