commit | 9aa32d1d830c030000c1178b1297035a9b53d5bc | [log] [tgz] |
---|---|---|
author | msarett <msarett@google.com> | Tue Sep 01 14:40:46 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Sep 01 14:40:46 2015 -0700 |
tree | 7d5f57c4860934e00e3ba5bf6242c88d9290efb2 | |
parent | f29a0c771545d9158f10475690c755a4c00aef0c [diff] |
Fix bmp bug in ReadHeader() For BmpMaskCodecs, we need to skip any offset after the header to get to the start of pixel data. Before this fix, we only skipped this data when codecOut is non-NULL (instead of on every call to ReadHeader()). https://gold.skia.org/search?q=1&neg=true&unt=false&query=name%3Drgb16-565pal.bmp_0.200%26name%3Drgb16-565pal.bmp%26name%3Drgb16-565pal.bmp_0.250%26name%3Drgb16-565pal.bmp_0.333%26name%3Drgb16-565pal.bmp_0.375%26name%3Drgb16-565pal.bmp_0.400%26name%3Drgb16-565pal.bmp_0.500%26source_type%3Dimage BUG=skia: Review URL: https://codereview.chromium.org/1318393004