Commit 9f50d3b9 authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a45e6b7b
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment