quartz: Ignore unknown chunks when parsing AVI headers.
This commit is contained in:
parent
7ef7d975e4
commit
d17609ad92
|
@ -1081,7 +1081,7 @@ static HRESULT AVISplitter_InputPin_PreConnect(IPin * iface, IPin * pConnectPin,
|
|||
pos += sizeof(RIFFCHUNK) + list.cb;
|
||||
hr = IAsyncReader_SyncRead(This->pReader, pos, sizeof(list), (BYTE *)&list);
|
||||
|
||||
while (list.fcc == ckidAVIPADDING || (list.fcc == FOURCC_LIST && list.fccListType == ckidINFO))
|
||||
while (list.fcc == ckidAVIPADDING || (list.fcc == FOURCC_LIST && list.fccListType != listtypeAVIMOVIE))
|
||||
{
|
||||
pos += sizeof(RIFFCHUNK) + list.cb;
|
||||
|
||||
|
|
Loading…
Reference in New Issue