mirror of
https://github.com/mpv-player/mpv
synced 2025-02-27 02:40:53 +00:00
Remove another 2 useless casts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25710 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a20fa53d69
commit
47cbaf4c81
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user