Hi,
I am trying out with testRTSPClient and facing the following issue. I have modified the DummySink to terminate in case of some break condition is detected. Even after execution of these statements MultiFramedRTPSourcce -> getNextCompletedPacket is called and system is complaining that with following exception: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF. Can you please help me out? Regards, Monotosh void DummySink::afterGettingFrame(unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime) { if (numTruncatedBytes > 0) { addData(fBuffer->Data.pData, frameSize, presentationTime); if (fOutFid == NULL || fflush(fOutFid) == EOF || (some break cond)) { // The output file has closed. Handle this the same way as if the input source had closed: if (fSource != NULL) fSource->stopGettingFrames(); onSourceClosure(); return; } if (fPerFrameFileNameBuffer != NULL) { if (fOutFid != NULL) { fclose(fOutFid); fOutFid = NULL; } } } // Then try getting the next frame: continuePlaying(); } MultiFramedRTPSource.cpp [line 597] BufferedPacket* ReorderingPacketBuffer ::getNextCompletedPacket(Boolean& packetLossPreceded) { if (fHeadPacket == NULL) return NULL; //<-- 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF. . }
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel