mirror of
https://github.com/webmproject/libwebp.git
synced 2025-04-11 11:26:47 +02:00
Fix bug: InitIo reseting fancy_upsampling flag.
frame's InitIo should not reset fancy_upsampling flag. This flag (fancy_upsampling) is set via CustomSetup -> WebPIoInitFromOptions and frame's InitIo() is resetting it to 0. Change-Id: I64b54cdfba43799c0a5aa8e384575af5d6331674
This commit is contained in:
parent
880fd98ca1
commit
7cbee29afa
@ -504,7 +504,6 @@ static void InitIo(VP8Decoder* const dec, VP8Io* io) {
|
|||||||
io->v = dec->cache_v_;
|
io->v = dec->cache_v_;
|
||||||
io->y_stride = dec->cache_y_stride_;
|
io->y_stride = dec->cache_y_stride_;
|
||||||
io->uv_stride = dec->cache_uv_stride_;
|
io->uv_stride = dec->cache_uv_stride_;
|
||||||
io->fancy_upsampling = 0; // default
|
|
||||||
io->a = NULL;
|
io->a = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user