Mercurial > mplayer.hg
diff m_property.c @ 32664:6d08af681d54
Factorize ROUND() redefinitions macro.
author | cboesch |
---|---|
date | Mon, 03 Jan 2011 19:39:31 +0000 |
parents | c1a3f1bbba26 |
children |
line wrap: on
line diff
--- a/m_property.c Mon Jan 03 18:37:45 2011 +0000 +++ b/m_property.c Mon Jan 03 19:39:31 2011 +0000 @@ -30,10 +30,9 @@ #include "m_option.h" #include "m_property.h" #include "mp_msg.h" +#include "mpcommon.h" #include "help_mp.h" -#define ROUND(x) ((int)((x)<0 ? (x)-0.5 : (x)+0.5)) - static int do_action(const m_option_t* prop_list, const char* name, int action, void* arg, void *ctx) { const char* sep;