[vlc-devel] Re: vlc: svn commit r14147 (sigmunau)

Clément Stenac zorglub at via.ecp.fr
Fri Feb 3 15:16:40 CET 2006


Hello,

You shouldn't need to explicitely surround each stats_ call by if(
stats_enabled )  because the stats_ calls already check for this and do
nothing if stats aren't enabled ?

Is this fix made for performance reasons ? In that case we can change a
bit an wrap all stats_ calls this way:

inline stats_Foo() { if( stats_enabled ) __stats_Foo() }

-- 
Clément

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list