Paul Chitescu : quartz: Do not assert() the existence of a media format of an input pin.

Alexandre Julliard julliard at winehq.org
Wed Feb 24 10:21:32 CST 2010


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

Author: Paul Chitescu <paulc at voip.null.ro>
Date:   Tue Feb 23 22:37:40 2010 +0200

quartz: Do not assert() the existence of a media format of an input pin.

---

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

diff --git a/dlls/quartz/pin.c b/dlls/quartz/pin.c
index 2e24d52..ca34d93 100644
--- a/dlls/quartz/pin.c
+++ b/dlls/quartz/pin.c
@@ -765,9 +765,6 @@ HRESULT WINAPI OutputPin_Connect(IPin * iface, IPin * pReceivePin, const AM_MEDI
                 {
                     assert(pmtCandidate);
                     dump_AM_MEDIA_TYPE(pmtCandidate);
-                    if (!IsEqualGUID(&FORMAT_None, &pmtCandidate->formattype)
-                        && !IsEqualGUID(&GUID_NULL, &pmtCandidate->formattype))
-                        assert(pmtCandidate->pbFormat);
                     if (( !pmt || CompareMediaTypes(pmt, pmtCandidate, TRUE) ) && 
                         (This->pConnectSpecific(iface, pReceivePin, pmtCandidate) == S_OK))
                     {




More information about the wine-cvs mailing list