quartz: Fix compiler warnings with flag -Wcast-qual.
This commit is contained in:
parent
42e897f228
commit
0a671deb92
|
@ -203,7 +203,7 @@ static HRESULT AVIDec_ConnectInput(InputPin *pin, const AM_MEDIA_TYPE * pmt)
|
||||||
bmi = &format2->bmiHeader;
|
bmi = &format2->bmiHeader;
|
||||||
else
|
else
|
||||||
goto failed;
|
goto failed;
|
||||||
TRACE("Fourcc: %s\n", debugstr_an((char *)&pmt->subtype.Data1, 4));
|
TRACE("Fourcc: %s\n", debugstr_an((const char *)&pmt->subtype.Data1, 4));
|
||||||
|
|
||||||
This->hvid = ICLocate(pmt->majortype.Data1, pmt->subtype.Data1, bmi, NULL, ICMODE_DECOMPRESS);
|
This->hvid = ICLocate(pmt->majortype.Data1, pmt->subtype.Data1, bmi, NULL, ICMODE_DECOMPRESS);
|
||||||
if (This->hvid)
|
if (This->hvid)
|
||||||
|
|
|
@ -692,7 +692,7 @@ static HRESULT AVISplitter_ProcessStreamList(AVISplitterImpl * This, const BYTE
|
||||||
amt.formattype = FORMAT_WaveFormatEx;
|
amt.formattype = FORMAT_WaveFormatEx;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
FIXME("fccType %.4s not handled yet\n", (char *)&pStrHdr->fccType);
|
FIXME("fccType %.4s not handled yet\n", (const char *)&pStrHdr->fccType);
|
||||||
amt.formattype = FORMAT_None;
|
amt.formattype = FORMAT_None;
|
||||||
}
|
}
|
||||||
amt.majortype = MEDIATYPE_Video;
|
amt.majortype = MEDIATYPE_Video;
|
||||||
|
@ -793,7 +793,7 @@ static HRESULT AVISplitter_ProcessStreamList(AVISplitterImpl * This, const BYTE
|
||||||
TRACE("bIndexSubType: %hd\n", pIndex->bIndexSubType);
|
TRACE("bIndexSubType: %hd\n", pIndex->bIndexSubType);
|
||||||
TRACE("bIndexType: %hd\n", pIndex->bIndexType);
|
TRACE("bIndexType: %hd\n", pIndex->bIndexType);
|
||||||
TRACE("nEntriesInUse: %u\n", pIndex->nEntriesInUse);
|
TRACE("nEntriesInUse: %u\n", pIndex->nEntriesInUse);
|
||||||
TRACE("dwChunkId: %.4s\n", (char *)&pIndex->dwChunkId);
|
TRACE("dwChunkId: %.4s\n", (const char *)&pIndex->dwChunkId);
|
||||||
if (pIndex->dwReserved[0])
|
if (pIndex->dwReserved[0])
|
||||||
TRACE("dwReserved[0]: %u\n", pIndex->dwReserved[0]);
|
TRACE("dwReserved[0]: %u\n", pIndex->dwReserved[0]);
|
||||||
if (pIndex->dwReserved[2])
|
if (pIndex->dwReserved[2])
|
||||||
|
|
Loading…
Reference in New Issue