Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JEmto-0006hd-1Z for mharc-grub-devel@gnu.org; Tue, 15 Jan 2008 09:36:20 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JEmtn-0006gi-1f for grub-devel@gnu.org; Tue, 15 Jan 2008 09:36:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JEmtl-0006eb-Ay for grub-devel@gnu.org; Tue, 15 Jan 2008 09:36:18 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JEmtl-0006eO-5f for grub-devel@gnu.org; Tue, 15 Jan 2008 09:36:17 -0500 Received: from py-out-1112.google.com ([64.233.166.183]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JEmtk-0000W4-Oz for grub-devel@gnu.org; Tue, 15 Jan 2008 09:36:17 -0500 Received: by py-out-1112.google.com with SMTP id u52so2809515pyb.1 for ; Tue, 15 Jan 2008 06:36:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=N628M1axkCObq+on6Rg1hWxltOS8qAhYO7TWLJ0cJEA=; b=q5vtPARdlFLtzxTojOF6isIwI+sKHB9fSJoVBXJRMwuuka+O4XixA+lj4UqQghv1OWJQ1yghlnJLlpaP0ljaFNpN5hT+e8KSlYcwAvHhmHKGdjeYuSU91SBzCaxKmEd9iU6raQh5h3XxghDfQqBSkRh5tzdwGGzYjZChu4qSGCM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=xC1Yl/+kv/M+D+9pwCrxDwu55ZTymm1z0/BHuz0dOa+n2RDFCd22XlzA5O3h2oTJjHsSAAEhY+itSFsgLWPSQ8+oeg5lkslUhnLB3pdDsZD+O+czfjM9xl1eT3Cpz17tB7ieVKi6K91bdVqrrIGapC7rjWOz1ix46EhoiOC8/tk= Received: by 10.141.170.10 with SMTP id x10mr4638219rvo.92.1200407774788; Tue, 15 Jan 2008 06:36:14 -0800 (PST) Received: by 10.35.110.12 with HTTP; Tue, 15 Jan 2008 06:36:14 -0800 (PST) Message-ID: Date: Tue, 15 Jan 2008 22:36:14 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <87k5mbyxj4.fsf@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47852F7C.6030407@nic.fi> <874pdhh920.fsf@xs4all.nl> <87abn74ajo.fsf@xs4all.nl> <87k5mbyxj4.fsf@xs4all.nl> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: [PATCH] jpeg image reader X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2008 14:36:19 -0000 On Jan 15, 2008 10:27 PM, Marco Gerards wrote: > Bean writes: > > > [...] > > >> > for (i = 0; i < cc; i++) > >> > { > >> > int id, ss; > >> > > >> > id = grub_jpeg_get_byte (data) - 1; > >> > if ((id < 0) || (id >= 3)) > >> > return grub_error (GRUB_ERR_BAD_FILE_TYPE, "jpeg: invalid index"); > >> > > >> > ss = grub_jpeg_get_byte (data); /* sampling factor */ > >> > if (!id) > >> > { > >> > data->vs = ss & 0xF; /* vertical sampling */ > >> > data->hs = ss >> 4; /* horizontal sampling */ > >> > >> Please use correct interpunction. > > > > I'm sorry, what do you mean by correct interpunction ? > > That I prefer: > > /* vertical sampling */ -> /* Vertical sampling. */ > > Same for the other two lines. With this change, only the legal > question remains. oh, i see. The IJG's source code: http://www.ijg.org/files/jpegsrc.v6b.tar.gz there is a legal issue section in the README file. -- Bean