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

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] httplive/fileformat playlistmgr.cpp,1.3,1.4
From:       qluo () helixcommunity ! org
Date:       2010-06-30 23:32:24
Message-ID: 201006302332.o5UNWaEt012974 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/datatype/httplive/fileformat
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv21067

Modified Files:
	playlistmgr.cpp 
Log Message:
bug fix.


Index: playlistmgr.cpp
===================================================================
RCS file: /cvsroot/datatype/httplive/fileformat/playlistmgr.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- playlistmgr.cpp	30 Jun 2010 22:28:17 -0000	1.3
+++ playlistmgr.cpp	30 Jun 2010 23:32:21 -0000	1.4
@@ -452,7 +452,7 @@
 STDMETHODIMP_(const char*) CPlaylistManager::GetKeyURI(UINT32 ulSequenceNumber)
 {
     SegmentInfo_t* pSegmentInfo = \
                GetSegmentInfo(m_pPlaylistStatus->pCurrentAltStream, \
                ulSequenceNumber);
-    if (pSegmentInfo != NULL)
+    if (pSegmentInfo != NULL && pSegmentInfo->pStrKeyURI != NULL)
     {
         return (const char*)(*pSegmentInfo->pStrKeyURI);
     }


_______________________________________________
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