mirror of
https://github.com/webmproject/libwebp.git
synced 2025-01-31 00:55:07 +01:00
b902c3ea50
As 'curr_canvas_mod' is being modified during calls to IncreaseTransparency() and FlattenSimilarBlocks(), GetSubRect() should get the sub-frame from 'curr_canvas_mod' as well. Earlier, GetSubRect() was computed from 'curr_canvas', so modifying 'curr_canvas_mod' had no effect on encoding. Change-Id: Ia847503007b66364817fe57def5a9e3c37d1b3cc