]> git.sur5r.net Git - u-boot/commit
tools: bmp_logo: correctly interpret BMP files with larger headers
authorJon Smith <jtsmith@pdiarm.com>
Thu, 5 Oct 2017 12:35:02 +0000 (08:35 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 16 Oct 2017 13:42:51 +0000 (09:42 -0400)
commit06d326d3a6e343dd5df992afcd3613ea2188d28a
treeed09974b4754b8407c5d7020aa6d5701cd55ce00
parent026d7958ba6dc5ed4cd2c5ff507f55f3897cf41a
tools: bmp_logo: correctly interpret BMP files with larger headers

All BMP files were being treated as though they had a 40 byte header.
There are several BMP header formats consisting of additional data.
This was causing some of the header to be read as color information,
skewing the color palette.

Signed-off-by: Jon Smith <jtsmith@pdiarm.com>
tools/bmp_logo.c