Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libv4l/files: libv4l-0.8.5-disable_fancy_upsampling.patch
Date: Thu, 02 Feb 2012 17:02:50
Message-Id: 20120202170225.BE0AD2004C@flycatcher.gentoo.org
1 ssuominen 12/02/02 17:02:25
2
3 Added: libv4l-0.8.5-disable_fancy_upsampling.patch
4 Log:
5 Since JPEG 7.x the fancy upsampling has been enabled by default and should explicitely be disabled in apps not supporting it wrt #401865 by Denilson Sá
6
7 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 media-libs/libv4l/files/libv4l-0.8.5-disable_fancy_upsampling.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libv4l/files/libv4l-0.8.5-disable_fancy_upsampling.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libv4l/files/libv4l-0.8.5-disable_fancy_upsampling.patch?rev=1.1&content-type=text/plain
14
15 Index: libv4l-0.8.5-disable_fancy_upsampling.patch
16 ===================================================================
17 http://bugs.gentoo.org/401865
18 http://bugs.debian.org/647273
19
20 --- lib/libv4lconvert/jpeg.c
21 +++ lib/libv4lconvert/jpeg.c
22 @@ -390,6 +390,7 @@
23 }
24
25 data->cinfo.raw_data_out = TRUE;
26 + data->cinfo.do_fancy_upsampling = FALSE;
27 jpeg_start_decompress(&data->cinfo);
28 /* Make libjpeg errors report that we've got some data */
29 data->jerr_errno = EPIPE;