diff --git a/ChangeLog b/ChangeLog index d1a9717fd..99f694dee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-09-28 Vladimir Serbinenko + + * grub-core/video/readers/jpeg.c (grub_jpeg_decode_data): Remove + incorrect cbcr setting when in color mode. + 2013-09-28 Vladimir Serbinenko * grub-core/video/readers/png.c: Support paletted images and clean up diff --git a/grub-core/video/readers/jpeg.c b/grub-core/video/readers/jpeg.c index 7dea37344..ce48409d5 100644 --- a/grub-core/video/readers/jpeg.c +++ b/grub-core/video/readers/jpeg.c @@ -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;