mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 05:38:22 +01:00
decode.h: fix decode example
spotted by tsutsui123 at gmail Bug: webp:615 Change-Id: Ibc37b91e85427b2424b698043a40cce98bae356d Fixed: webp:615
This commit is contained in:
parent
b6c4ce2635
commit
63acdd1e06
@ -389,7 +389,7 @@ WEBP_EXTERN const WebPDecBuffer* WebPIDecodedArea(
|
||||
CHECK(WebPGetFeatures(data, data_size, &config.input) == VP8_STATUS_OK);
|
||||
|
||||
// C) Adjust 'config', if needed
|
||||
config.no_fancy_upsampling = 1;
|
||||
config.options.no_fancy_upsampling = 1;
|
||||
config.output.colorspace = MODE_BGRA;
|
||||
// etc.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user