mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
avutil/murmur3: Add () to protect the ROT() arguments
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
9cde41cdb5
commit
cdee0c9d5f
@ -49,7 +49,7 @@ void av_murmur3_init(AVMurMur3 *c)
|
||||
static const uint64_t c1 = UINT64_C(0x87c37b91114253d5);
|
||||
static const uint64_t c2 = UINT64_C(0x4cf5ad432745937f);
|
||||
|
||||
#define ROT(a, b) ((a << b) | (a >> (64 - b)))
|
||||
#define ROT(a, b) (((a) << (b)) | ((a) >> (64 - (b))))
|
||||
|
||||
static uint64_t inline get_k1(const uint8_t *src)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user