mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 13:48:21 +01:00
Merge "picture_csp: fix build w/USE_GAMMA_COMPRESSION undefined"
This commit is contained in:
commit
c3a031686a
@ -843,7 +843,7 @@ static int ImportYUVAFromRGBA(const uint8_t* const r_ptr,
|
||||
if (has_alpha) {
|
||||
WebPInitAlphaProcessing();
|
||||
assert(step == 4);
|
||||
#if defined(USE_INVERSE_ALPHA_TABLE)
|
||||
#if defined(USE_GAMMA_COMPRESSION) && defined(USE_INVERSE_ALPHA_TABLE)
|
||||
assert(kAlphaFix + kGammaFix <= 31);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user