aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/codec/SkCodec_libico.h
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2015-09-01 14:40:46 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-01 14:40:46 -0700
commit9aa32d1d830c030000c1178b1297035a9b53d5bc (patch)
tree7d5f57c4860934e00e3ba5bf6242c88d9290efb2 /src/codec/SkCodec_libico.h
parentf29a0c771545d9158f10475690c755a4c00aef0c (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
Diffstat (limited to 'src/codec/SkCodec_libico.h')
0 files changed, 0 insertions, 0 deletions