Commit 6e365198 authored by James Almer's avatar James Almer

avcodec/hevcdsp: add missing () to CMP macro

Found-by: 's avatarClément Bœsch <u@pkh.me>
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 89cb4995
......@@ -325,7 +325,7 @@ static void FUNC(sao_band_filter_0)(uint8_t *_dst, uint8_t *_src,
}
}
#define CMP(a, b) ((a > b) - (a < b))
#define CMP(a, b) (((a) > (b)) - ((a) < (b)))
static void FUNC(sao_edge_filter)(uint8_t *_dst, uint8_t *_src, ptrdiff_t stride_dst, int16_t *sao_offset_val,
int eo, int width, int height) {
......
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