mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02: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