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

Christian Costa titan.costa at wanadoo.fr
Mon Apr 13 03:07:29 CDT 2009


---

 dlls/quartz/mpegsplit.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
-------------- next part --------------
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-patches mailing list