* grub-core/video/readers/jpeg.c (grub_jpeg_decode_data): Remove

incorrect cbcr setting when in color mode.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-09-28 03:06:04 +02:00
parent fa31ee9c2c
commit de6e5ff89b
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2013-09-28 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/video/readers/jpeg.c (grub_jpeg_decode_data): Remove
incorrect cbcr setting when in color mode.
2013-09-28 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/video/readers/png.c: Support paletted images and clean up

View file

@ -638,8 +638,6 @@ grub_jpeg_decode_data (struct grub_jpeg_data *data)
grub_jpeg_decode_du (data, 1, data->cbdu);
grub_jpeg_decode_du (data, 2, data->crdu);
}
grub_memset (&data->cbdu, 0, sizeof (data->cbdu));
grub_memset (&data->crdu, 0, sizeof (data->crdu));
if (grub_errno)
return grub_errno;