Tom Lane didn't like this... so I guess it wasn't so brain-dead.
This commit is contained in:
parent
50db65b3a9
commit
09bc85ba19
@ -1,4 +1,4 @@
|
|||||||
/* $Id: tif_jpeg.c,v 1.93 2010-12-06 18:05:56 faxguy Exp $ */
|
/* $Id: tif_jpeg.c,v 1.94 2010-12-06 20:52:54 faxguy Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1994-1997 Sam Leffler
|
* Copyright (c) 1994-1997 Sam Leffler
|
||||||
@ -1167,7 +1167,6 @@ JPEGPreDecode(TIFF* tif, uint16 s)
|
|||||||
if (downsampled_output) {
|
if (downsampled_output) {
|
||||||
/* Need to use raw-data interface to libjpeg */
|
/* Need to use raw-data interface to libjpeg */
|
||||||
sp->cinfo.d.raw_data_out = TRUE;
|
sp->cinfo.d.raw_data_out = TRUE;
|
||||||
sp->cinfo.d.do_fancy_upsampling = FALSE;
|
|
||||||
tif->tif_decoderow = DecodeRowError;
|
tif->tif_decoderow = DecodeRowError;
|
||||||
tif->tif_decodestrip = JPEGDecodeRaw;
|
tif->tif_decodestrip = JPEGDecodeRaw;
|
||||||
tif->tif_decodetile = JPEGDecodeRaw;
|
tif->tif_decodetile = JPEGDecodeRaw;
|
||||||
|
Loading…
Reference in New Issue
Block a user