[FFmpeg-cvslog] avcodec/proresenc_kostya: remove an unnecessary parenthesis level in MAKE_CODE() macro
Clément Bœsch
git at videolan.org
Wed Jan 10 15:21:43 EET 2024
ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Sun Dec 10 01:12:52 2023 +0100| [2ac88c136294c31784a847eb130313b4fe0a05c8] | committer: Clément Bœsch
avcodec/proresenc_kostya: remove an unnecessary parenthesis level in MAKE_CODE() macro
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2ac88c136294c31784a847eb130313b4fe0a05c8
---
libavcodec/proresenc_kostya.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
More information about the ffmpeg-cvslog
mailing list