quartz: Remove 1GB AVI size limitation

Chris Robinson chris.kcat at gmail.com
Tue Feb 13 16:37:52 CST 2007


AVIs greater than 1 gigabyte are valid.
-------------- next part --------------
From 412b220f4c9f38ace4789bd7c3cc8c3b5c6a71c4 Mon Sep 17 00:00:00 2001
From: Chris Robinson <chris.kcat at gmail.com>
Date: Tue, 13 Feb 2007 14:04:01 -0800
Subject: [PATCH] quartz: Remove 1GB AVI size limitation

---
 dlls/quartz/avisplit.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/dlls/quartz/avisplit.c b/dlls/quartz/avisplit.c
index 68a91ff..e90035d 100644
--- a/dlls/quartz/avisplit.c
+++ b/dlls/quartz/avisplit.c
@@ -482,11 +482,6 @@ static HRESULT AVISplitter_InputPin_PreConnect(IPin * iface, IPin * pConnectPin)
         ERR("Input stream not a RIFF file\n");
         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)
     {
         ERR("Input stream not an AVI RIFF file\n");
-- 
1.4.4.4



More information about the wine-patches mailing list