summaryrefslogtreecommitdiffstats
path: root/m_property.c
diff options
context:
space:
mode:
authorcboesch <cboesch@b3059339-0415-0410-9bf9-f77b7e298cf2>2011-01-03 19:39:31 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-31 16:03:10 +0200
commit74c285e090b875d1a1e4e32adc28dcf12469a8b4 (patch)
treee8d7dea2823b77179f095485e5b49cbf2736a4f8 /m_property.c
parent14c5377a0f3f5f94bd76f833d09b3f858165d160 (diff)
downloadmpv-74c285e090b875d1a1e4e32adc28dcf12469a8b4.tar.bz2
mpv-74c285e090b875d1a1e4e32adc28dcf12469a8b4.tar.xz
cleanup: define ROUND() macro in mpcommon.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32751 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'm_property.c')
-rw-r--r--m_property.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/m_property.c b/m_property.c
index 363e042f1c..93fa8863fd 100644
--- a/m_property.c
+++ b/m_property.c
@@ -30,8 +30,7 @@
#include "m_option.h"
#include "m_property.h"
#include "mp_msg.h"
-
-#define ROUND(x) ((int)((x)<0 ? (x)-0.5 : (x)+0.5))
+#include "mpcommon.h"
static int do_action(const m_option_t* prop_list, const char* name,
int action, void* arg, void *ctx) {