[Live-devel] memory delete problem

Pering, Trevor trevor.pering at intel.com
Tue Dec 13 06:41:02 PST 2005


Hello -- I've been trying to get the MPEG4 part of testOnDemandStreaming
server and I came across what might be a memory corruption problem...
 
Basicaly, the statement
 
delete meduim
 
from MediaLookupTable::remove in Media.cpp seems to conflict with the
check of 
 
if (fDummyRTPSink->auxSDPLine() != NULL) {
 
in MPEG4VideoFileServerMediaSubsession::checkForAuxSDPLine1() from
MPEG4VideoFileServerMediaSubsession.cpp
 
Putting some debug statements in confirms that the address of medium
(being deleted) is the same as fDummyRTPSink (which is used later), and
that removing the delete statement makes things better. I don't really
know what's going on in the code, but there's definitely something wonky
going on here...

Cheers,
	Trevor



More information about the live-devel mailing list