mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
Fixed nit: 10 -> 10.f
Change-Id: I0cdb096525460b27f3adcb9f802f6dc193d5f590
This commit is contained in:
parent
4c3975792b
commit
cca7c7b81b
@ -84,7 +84,7 @@ static int EncodeLossless(const uint8_t* data, int width, int height,
|
|||||||
config.method = effort_level; // impact is very small
|
config.method = effort_level; // impact is very small
|
||||||
// Set moderate default quality setting for alpha. Higher qualities (80 and
|
// Set moderate default quality setting for alpha. Higher qualities (80 and
|
||||||
// above) could be very slow.
|
// above) could be very slow.
|
||||||
config.quality = 10 + 15.f * effort_level;
|
config.quality = 10.f + 15.f * effort_level;
|
||||||
if (config.quality > 100.f) config.quality = 100.f;
|
if (config.quality > 100.f) config.quality = 100.f;
|
||||||
|
|
||||||
VP8LBitWriterInit(&tmp_bw, (width * height) >> 3);
|
VP8LBitWriterInit(&tmp_bw, (width * height) >> 3);
|
||||||
|
Loading…
Reference in New Issue
Block a user