[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] wm/video/codec/wmv9 wmv9_decoder_entry.cpp, 1.6,
From:       jeffl () helixcommunity ! org
Date:       2010-04-30 20:13:42
Message-ID: 201004302014.o3UKE1YM025814 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/datatype/wm/video/codec/wmv9
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv31004/wmv9

Modified Files:
      Tag: hxclient_3_1_0_atlas
	wmv9_decoder_entry.cpp 
Log Message:
Crash while enumerating video codecs by the Producer SDK fixed.  In this case just fixing the assert.
https://helixcommunity.org/viewcvs/datatype/rm/video/codec/rv1dec/frontend/rv10api.cpp?r1=1.2&r2=1.3


Index: wmv9_decoder_entry.cpp
===================================================================
RCS file: /cvsroot/datatype/wm/video/codec/wmv9/wmv9_decoder_entry.cpp,v
retrieving revision 1.6
retrieving revision 1.6.10.1
diff -u -d -r1.6 -r1.6.10.1
--- wmv9_decoder_entry.cpp	17 Jan 2007 21:50:34 -0000	1.6
+++ wmv9_decoder_entry.cpp	30 Apr 2010 20:13:39 -0000	1.6.10.1
@@ -81,6 +81,11 @@
 STDAPI ENTRYPOINTCALLTYPE ENTRYPOINT(PNCodec_QueryMediaFormat)(HXCODEC codecRef, HX_MOF* pMofIn,
                                                         HX_MOF* pMofOut, UINT16 usIODirection)
 {
+    if(codecRef == NULL)
+    {
+        return HXR_UNEXPECTED;
+    }
+
     HX_ASSERT(FALSE);
     return HXR_NOTIMPL;
 }


_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic