Fix formula for computing total number of bytes.
+2013-09-27 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/video/readers/png.c (grub_png_decode_image_header):
+ Fix formula for computing total number of bytes.
+
2013-09-27 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/video/readers/tga.c: Reorganize to separate RLE and
}
#endif
- data->raw_bytes = data->image_height * (data->image_width + 1) * data->bpp;
+ data->raw_bytes = data->image_height * (data->image_width * data->bpp + 1)
data->cur_column = 0;
data->first_line = 1;