Mercurial > mplayer.hg
changeset 25682:09f31d37d717
Remove another 2 useless casts
author | reimar |
---|---|
date | Sun, 13 Jan 2008 10:19:06 +0000 |
parents | 355f24f329d4 |
children | 17081f6f4bd6 |
files | loader/dshow/DS_Filter.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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)