Commit 74c07a14 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

quartz: Data may be incomplete at the end of file so do not assert if we have…

quartz: Data may be incomplete at the end of file so do not assert if we have less data than expected.
parent 7788c8ed
...@@ -176,7 +176,6 @@ static HRESULT FillBuffer(MPEGSplitterImpl *This, IMediaSample *pCurrentSample) ...@@ -176,7 +176,6 @@ static HRESULT FillBuffer(MPEGSplitterImpl *This, IMediaSample *pCurrentSample)
/* Find the next valid header.. it <SHOULD> be right here */ /* Find the next valid header.. it <SHOULD> be right here */
assert(parse_header(fbuf, &length, &This->position) == S_OK); assert(parse_header(fbuf, &length, &This->position) == S_OK);
assert(length == len || length + 4 == len);
IMediaSample_SetActualDataLength(pCurrentSample, length); IMediaSample_SetActualDataLength(pCurrentSample, length);
/* Queue the next sample */ /* Queue the next sample */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment