- sync quartz with Wine 1.1.23
authorKamil Hornicek <kamil.hornicek@reactos.org>
Wed, 17 Jun 2009 10:31:16 +0000 (10:31 +0000)
committerKamil Hornicek <kamil.hornicek@reactos.org>
Wed, 17 Jun 2009 10:31:16 +0000 (10:31 +0000)
svn path=/trunk/; revision=41432

reactos/dll/directx/quartz/control.c
reactos/dll/directx/quartz/mpegsplit.c

index d14e221..9a50737 100644 (file)
@@ -278,6 +278,8 @@ static HRESULT ForwardCmdSeek( PCRITICAL_SECTION crit_sect, IBaseFilter* from, S
             IPin_Release( pin );
         }
     }
+    IEnumPins_Release( enumpins );
+
     if (foundend && allnotimpl)
         hr = E_NOTIMPL;
     else
index 373e537..14d01a1 100644 (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 */