mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 04:30:02 +00:00
avcodec/rv34: Fix () in GET_PTS_DIFF() macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a45e6b7bc5
commit
9f50d3b944
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user