[Live-devel] Reclaim problem with UsageEnvironment pointer.

钟贵平 zhonggp at chinabizone.com
Mon Mar 21 15:30:07 PST 2005

    These days ,I am reading the RTSP module code in VLC(version 0.8.1) which called livedotcom.cpp . I noted that the VLC releases the BasicUsageEnvironment pointer with a defination like this:

#define RECLAIM_ENV(env) (env)->reclaim()

    I wonder why there is not such a explicit call in the function shutdown()  in playCommon.cpp ?  Do you write it on purpose or carelessly ?
    By the way, I attempted to add reclaim() in shotdown function, and it seems work well for now.


Peter Zhong

More information about the live-devel mailing list