Lei Zhang : quartz: Ignore unknown chunks when parsing AVI headers.
Alexandre Julliard
julliard at winehq.org
Fri Dec 19 11:19:36 CST 2008
Module: wine
Branch: master
Commit: d17609ad9270a0ebd28399bc187268d7f8058daa
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d17609ad9270a0ebd28399bc187268d7f8058daa
Author: Lei Zhang <thestig at google.com>
Date: Thu Dec 18 16:47:09 2008 -0800
quartz: Ignore unknown chunks when parsing AVI headers.
---
dlls/quartz/avisplit.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/quartz/avisplit.c b/dlls/quartz/avisplit.c
index 94d2c9b..1c9631d 100644
--- a/dlls/quartz/avisplit.c
+++ b/dlls/quartz/avisplit.c
@@ -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;
More information about the wine-cvs
mailing list