diff options
author | voroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-10 18:27:45 +0000 |
---|---|---|
committer | voroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-10 18:27:45 +0000 |
commit | 903cbd2fc75f40d95a15f2781374890758accb43 (patch) | |
tree | 2f609202524dd0af3af6ca087c595f59d29e26ae /loader/dmo | |
parent | 169a837b180004c0a8aee0ed365c1fb06f4e1a48 (diff) |
Fix for:
dshow/DS_Filter.c: In function 'DS_Filter_CopySample':
dshow/DS_Filter.c:103: warning: dereferencing type-punned pointer will break strict-aliasing rules
dshow/DS_Filter.c:185: warning: dereferencing type-punned pointer will break strict-aliasing rules
dshow/DS_Filter.c:191: warning: dereferencing type-punned pointer will break strict-aliasing rules
dshow/DS_Filter.c:198: warning: dereferencing type-punned pointer will break strict-aliasing rules
dshow/DS_Filter.c:220: warning: dereferencing type-punned pointer will break strict-aliasing rules
dshow/DS_Filter.c:245: warning: dereferencing type-punned pointer will break strict-aliasing rules
dmo/dmo.c: In function 'DMO_FilterCreate':
dmo/dmo.c:73: warning: dereferencing type-punned pointer will break strict-aliasing rules
dmo/dmo.c:79: warning: dereferencing type-punned pointer will break strict-aliasing rules
dmo/dmo.c:86: warning: dereferencing type-punned pointer will break strict-aliasing rules
dmo/dmo.c:90: warning: dereferencing type-punned pointer will break strict-aliasing rules
dmo/dmo.c:93: warning: dereferencing type-punned pointer will break strict-aliasing rules
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24425 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/dmo')
-rw-r--r-- | loader/dmo/dmo.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/loader/dmo/dmo.c b/loader/dmo/dmo.c index 17d2a10412..43044075cc 100644 --- a/loader/dmo/dmo.c +++ b/loader/dmo/dmo.c @@ -70,27 +70,27 @@ DMO_Filter* DMO_FilterCreate(const char* dllname, const GUID* id, break; } //trapbug(); - hr = func(id, &IID_IClassFactory, (void**)&factory); + hr = func(id, &IID_IClassFactory, (void*)&factory); if (hr || !factory) { em = "no such class object"; break; } - hr = factory->vt->CreateInstance(factory, 0, &IID_IUnknown, (void**)&object); + hr = factory->vt->CreateInstance(factory, 0, &IID_IUnknown, (void*)&object); factory->vt->Release((IUnknown*)factory); if (hr || !object) { em = "class factory failure"; break; } - hr = object->vt->QueryInterface(object, &IID_IMediaObject, (void**)&This->m_pMedia); + hr = object->vt->QueryInterface(object, &IID_IMediaObject, (void*)&This->m_pMedia); if (hr == 0) { /* query for some extra available interface */ - HRESULT r = object->vt->QueryInterface(object, &IID_IMediaObjectInPlace, (void**)&This->m_pInPlace); + HRESULT r = object->vt->QueryInterface(object, &IID_IMediaObjectInPlace, (void*)&This->m_pInPlace); if (r == 0 && This->m_pInPlace) printf("DMO dll supports InPlace - PLEASE REPORT to developer\n"); - r = object->vt->QueryInterface(object, &IID_IDMOVideoOutputOptimizations, (void**)&This->m_pOptim); + r = object->vt->QueryInterface(object, &IID_IDMOVideoOutputOptimizations, (void*)&This->m_pOptim); if (r == 0 && This->m_pOptim) { unsigned long flags; |