summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-25 21:42:19 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-25 21:42:19 +0200
commit9f50d3b944a9797186af2e309eeb3a97a1f009d8 (patch)
treeab97d45df0f660ed8e08a57770fa45655f947caf
parenta45e6b7bc5ad3931ba880efd9b6b853240ab99bb (diff)
avcodec/rv34: Fix () in GET_PTS_DIFF() macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/rv34.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c
index 4bae2c4112..b275c550f4 100644
--- a/libavcodec/rv34.c
+++ b/libavcodec/rv34.c
@@ -509,7 +509,7 @@ static void rv34_pred_mv(RV34DecContext *r, int block_type, int subblock_no, int
}
}
-#define GET_PTS_DIFF(a, b) ((a - b + 8192) & 0x1FFF)
+#define GET_PTS_DIFF(a, b) (((a) - (b) + 8192) & 0x1FFF)
/**
* Calculate motion vector component that should be added for direct blocks.