Hi,
I noticed that if OpenOutputFile(env, outputFileName) method call in AVIFileSink constructor fails, the AVIFileSink remains in the MediaLookUp table. Addition to the table is done in the constructor of Medium and is called in AVIFileSink constructor's initializer list. Since AVIFileSink::createNew() returns NULL in this case, the client application does not receive a reference to close the AVIFileSink. Orphan AVIFileSink reference in the MediaLookUp table prevents Environment to be correctly reclaimed, since liveMediaPriv remains non-NULL because of the not empty table. It looks like it also applies to QuickTimeFileSink. However FileSink::createNew() does not construct if the file creation fails which prevents such an orphan reference. Regards, Mehmet Ozgul ************************************************************************
_______________________________________________ live-devel mailing list [email protected] http://lists.live555.com/mailman/listinfo/live-devel
