mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
picture_csp: fix build w/USE_GAMMA_COMPRESSION undefined
kGammaFix is now only defined with USE_GAMMA_COMPRESSION; fixes: use of undeclared identifier 'kGammaFix' Change-Id: Ib1e2f410eff9b83be065894f88181f91dd2776e1
This commit is contained in:
parent
d97c143da6
commit
1dd419ced5
@ -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