quartz: Remove 1GB AVI size limitation.
This commit is contained in:
parent
0885141c64
commit
134d8a026a
|
@ -482,11 +482,6 @@ static HRESULT AVISplitter_InputPin_PreConnect(IPin * iface, IPin * pConnectPin)
|
||||||
ERR("Input stream not a RIFF file\n");
|
ERR("Input stream not a RIFF file\n");
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
if (list.cb > 1 * 1024 * 1024 * 1024) /* cannot be more than 1Gb in size */
|
|
||||||
{
|
|
||||||
ERR("Input stream violates RIFF spec\n");
|
|
||||||
return E_FAIL;
|
|
||||||
}
|
|
||||||
if (list.fccListType != ckidAVI)
|
if (list.fccListType != ckidAVI)
|
||||||
{
|
{
|
||||||
ERR("Input stream not an AVI RIFF file\n");
|
ERR("Input stream not an AVI RIFF file\n");
|
||||||
|
|
Loading…
Reference in New Issue