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:
Vikas Arora 2012-05-30 14:44:54 +05:30
parent 880fd98ca1
commit 7cbee29afa

View File

@ -504,7 +504,6 @@ static void InitIo(VP8Decoder* const dec, VP8Io* io) {
io->v = dec->cache_v_;
io->y_stride = dec->cache_y_stride_;
io->uv_stride = dec->cache_uv_stride_;
io->fancy_upsampling = 0; // default
io->a = NULL;
}