mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 12:28:26 +01:00
Merge "fix (uncompiled) typo"
This commit is contained in:
commit
abc02f2492
@ -657,8 +657,7 @@ static WEBP_INLINE int LinearToGamma(uint32_t base_value, int shift) {
|
|||||||
static void InitGammaTables(void) {}
|
static void InitGammaTables(void) {}
|
||||||
static WEBP_INLINE uint32_t GammaToLinear(uint8_t v) { return v; }
|
static WEBP_INLINE uint32_t GammaToLinear(uint8_t v) { return v; }
|
||||||
static WEBP_INLINE int LinearToGamma(uint32_t base_value, int shift) {
|
static WEBP_INLINE int LinearToGamma(uint32_t base_value, int shift) {
|
||||||
(void)shift;
|
return (int)(base_value << shift);
|
||||||
return v;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // USE_GAMMA_COMPRESSION
|
#endif // USE_GAMMA_COMPRESSION
|
||||||
|
Loading…
Reference in New Issue
Block a user