[Live-devel] Reclaim problem with UsageEnvironment pointer.

Ross Finlayson finlayson at live.com
Mon Mar 21 03:03:34 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 ?

Yes, I could have called "env->reclaim()", but in this case it's not 
necessary, because "shutdown()" calls "exit()", which destroys the entire 
process anyway.


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>



More information about the live-devel mailing list