summaryrefslogtreecommitdiff
path: root/libavcodec/proresenc_kostya.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2023-12-10 01:12:52 +0100
committerClément Bœsch <u@pkh.me>2024-01-10 14:08:00 +0100
commit2ac88c136294c31784a847eb130313b4fe0a05c8 (patch)
tree9b9179ec9e5210d5474b9ac588594ba4013f87a0 /libavcodec/proresenc_kostya.c
parent6d2f64534dabd822da3d0b86b8df96f2a2cb537a (diff)
avcodec/proresenc_kostya: remove an unnecessary parenthesis level in MAKE_CODE() macro
Diffstat (limited to 'libavcodec/proresenc_kostya.c')
-rw-r--r--libavcodec/proresenc_kostya.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c
index 8d45e42d1a..77e68fe38a 100644
--- a/libavcodec/proresenc_kostya.c
+++ b/libavcodec/proresenc_kostya.c
@@ -429,7 +429,7 @@ static inline void encode_vlc_codeword(PutBitContext *pb, unsigned codebook, int
}
#define GET_SIGN(x) ((x) >> 31)
-#define MAKE_CODE(x) ((((x)) * 2) ^ GET_SIGN(x))
+#define MAKE_CODE(x) (((x) * 2) ^ GET_SIGN(x))
static void encode_dcs(PutBitContext *pb, int16_t *blocks,
int blocks_per_slice, int scale)