[Live-devel] Memory leak

2009-07-25 Thread Rawling, Stuart
Hi Ross, In teardownMediaSubsession in RTSPClient, the subsession¹s sessionId variable is deleted and reset. However *only if* the teardown succeeds. If the teardown fails and the MediaSubsession is subsequently closed using the proper method, then the sessionId will not be freed. I suggest als

[Live-devel] MP4 Demux problem

2009-07-25 Thread Woods
Dear all, I am writing a MP4Demux and MP4DemuxedElementaryStream, in a way of mimic MPEG1or2Demux and MPEG1or2DemuxedElementaryStream. In specific, my MP4Demux uses FFMPEG to read AVPacket from MP4 file, and feed the Packet->data to MP4DemuxedElementaryStream. In case, packet->size is larger than