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

This commit is contained in:
Christian Costa 2009-04-13 10:07:29 +02:00 committed by Alexandre Julliard
parent 7788c8ed0d
commit 74c07a141e

View file

@ -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 */