From de6e5ff89ba84fbdf5e0a5c1772c53c5291dd6d4 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Sat, 28 Sep 2013 03:06:04 +0200 Subject: [PATCH] * grub-core/video/readers/jpeg.c (grub_jpeg_decode_data): Remove incorrect cbcr setting when in color mode. --- ChangeLog | 5 +++++ grub-core/video/readers/jpeg.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) 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;