[MPlayer-cvslog] r34148 - trunk/libvo/matrixview.c
reimar
subversion at mplayerhq.hu
Wed Sep 28 20:26:19 CEST 2011
Author: reimar
Date: Wed Sep 28 20:26:18 2011
New Revision: 34148
Log:
Add () around macro definitions where necessary to avoid bad surprises.
Modified:
trunk/libvo/matrixview.c
Modified: trunk/libvo/matrixview.c
==============================================================================
--- trunk/libvo/matrixview.c Wed Sep 28 19:04:09 2011 (r34147)
+++ trunk/libvo/matrixview.c Wed Sep 28 20:26:18 2011 (r34148)
@@ -50,8 +50,8 @@ static const uint8_t flare[4][4] = {
#define MAX_TEXT_Y 0x4000
static int text_x = 0;
static int text_y = 0;
-#define _text_x text_x/2
-#define _text_y text_y/2
+#define _text_x (text_x/2)
+#define _text_y (text_y/2)
// Scene position
#define Z_Off -128.0f
More information about the MPlayer-cvslog
mailing list