Fixed nit: 10 -> 10.f

Change-Id: I0cdb096525460b27f3adcb9f802f6dc193d5f590
This commit is contained in:
Vikas Arora 2012-07-02 11:27:23 +05:30
parent 4c3975792b
commit cca7c7b81b

View File

@ -84,7 +84,7 @@ static int EncodeLossless(const uint8_t* data, int width, int height,
config.method = effort_level; // impact is very small
// Set moderate default quality setting for alpha. Higher qualities (80 and
// 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;
VP8LBitWriterInit(&tmp_bw, (width * height) >> 3);