quartz: Cast-qual warnings fix.
This commit is contained in:
parent
0e9c97eba3
commit
04423c4f59
|
@ -169,8 +169,9 @@ static HRESULT ACMWrapper_ConnectInput(TransformFilterImpl* pTransformFilter, co
|
|||
|
||||
TRACE("(%p)->(%p)\n", This, pmt);
|
||||
|
||||
/* Check root (GUID w/o FOURCC) */
|
||||
if ((IsEqualIID(&pmt->majortype, &MEDIATYPE_Audio)) &&
|
||||
(!memcmp(((char*)&pmt->subtype)+4, ((char*)&MEDIATYPE_Audio)+4, sizeof(GUID)-4)) && /* Check root (GUID w/o FOURCC) */
|
||||
(!memcmp(((const char *)&pmt->subtype)+4, ((const char *)&MEDIATYPE_Audio)+4, sizeof(GUID)-4)) &&
|
||||
(IsEqualIID(&pmt->formattype, &FORMAT_WaveFormatEx)))
|
||||
{
|
||||
HACMSTREAM drv;
|
||||
|
|
|
@ -158,8 +158,9 @@ static HRESULT AVIDec_ConnectInput(TransformFilterImpl* pTransformFilter, const
|
|||
|
||||
AVIDec_Cleanup(pTransformFilter);
|
||||
|
||||
/* Check root (GUID w/o FOURCC) */
|
||||
if ((IsEqualIID(&pmt->majortype, &MEDIATYPE_Video)) &&
|
||||
(!memcmp(((char*)&pmt->subtype)+4, ((char*)&MEDIATYPE_Video)+4, sizeof(GUID)-4)) && /* Check root (GUID w/o FOURCC) */
|
||||
(!memcmp(((const char *)&pmt->subtype)+4, ((const char *)&MEDIATYPE_Video)+4, sizeof(GUID)-4)) &&
|
||||
(IsEqualIID(&pmt->formattype, &FORMAT_VideoInfo)))
|
||||
{
|
||||
VIDEOINFOHEADER* format = (VIDEOINFOHEADER*)pmt->pbFormat;
|
||||
|
|
Loading…
Reference in New Issue