1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavu/murmur3: Enforce usual function attribute order.

This commit is contained in:
Carl Eugen Hoyos 2017-11-01 03:05:51 +01:00
parent 5c51d0edd4
commit 17806f6083

View File

@ -60,7 +60,7 @@ static uint64_t inline get_k1(const uint8_t *src)
return k; return k;
} }
static uint64_t inline get_k2(const uint8_t *src) static inline uint64_t get_k2(const uint8_t *src)
{ {
uint64_t k = AV_RL64(src + 8); uint64_t k = AV_RL64(src + 8);
k *= c2; k *= c2;
@ -69,7 +69,7 @@ static uint64_t inline get_k2(const uint8_t *src)
return k; return k;
} }
static uint64_t inline update_h1(uint64_t k, uint64_t h1, uint64_t h2) static inline uint64_t update_h1(uint64_t k, uint64_t h1, uint64_t h2)
{ {
k ^= h1; k ^= h1;
k = ROT(k, 27); k = ROT(k, 27);
@ -79,7 +79,7 @@ static uint64_t inline update_h1(uint64_t k, uint64_t h1, uint64_t h2)
return k; return k;
} }
static uint64_t inline update_h2(uint64_t k, uint64_t h1, uint64_t h2) static inline uint64_t update_h2(uint64_t k, uint64_t h1, uint64_t h2)
{ {
k ^= h2; k ^= h2;
k = ROT(k, 31); k = ROT(k, 31);