avcodec/rv34: Fix () in GET_PTS_DIFF() macro

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-05-25 21:42:19 +02:00
parent a45e6b7bc5
commit 9f50d3b944

View File

@ -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.