mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/hevcdsp: add missing () to CMP macro
Found-by: Clément Bœsch <u@pkh.me> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
89cb4995fa
commit
6e3651983c
|
@ -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,
|
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) {
|
int eo, int width, int height) {
|
||||||
|
|
Loading…
Reference in New Issue