Christian Costa : quartz: Data may be incomplete at the end of file so do not assert if we have less data than expected .

Alexandre Julliard julliard at winehq.org
Tue Apr 14 16:00:00 CDT 2009


Module: wine
Branch: master
Commit: 74c07a141ec9d760f209cf6976e0406d4123ab6d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=74c07a141ec9d760f209cf6976e0406d4123ab6d

Author: Christian Costa <titan.costa at wanadoo.fr>
Date:   Mon Apr 13 10:07:29 2009 +0200

quartz: Data may be incomplete at the end of file so do not assert if we have less data than expected.

---

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

diff --git a/dlls/quartz/mpegsplit.c b/dlls/quartz/mpegsplit.c
index 373e537..14d01a1 100644
--- a/dlls/quartz/mpegsplit.c
+++ b/dlls/quartz/mpegsplit.c
@@ -176,7 +176,6 @@ static HRESULT FillBuffer(MPEGSplitterImpl *This, IMediaSample *pCurrentSample)
 
     /* Find the next valid header.. it <SHOULD> be right here */
     assert(parse_header(fbuf, &length, &This->position) == S_OK);
-    assert(length == len || length + 4 == len);
     IMediaSample_SetActualDataLength(pCurrentSample, length);
 
     /* Queue the next sample */




More information about the wine-cvs mailing list