quartz: Ignore unknown chunks when parsing AVI headers.

This commit is contained in:
Lei Zhang 2008-12-18 16:47:09 -08:00 committed by Alexandre Julliard
parent 7ef7d975e4
commit d17609ad92
1 changed files with 1 additions and 1 deletions

View File

@ -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;