Changeset View
Changeset View
Standalone View
Standalone View
multimedia/pwcbsd/files/patch-pwcview.c
--- ./pwcview.c.orig 2009-10-03 20:45:17.711703547 +0200 | --- pwcview.c.orig 2007-10-09 07:03:10 UTC | ||||
+++ ./pwcview.c 2009-10-03 20:46:00.814254980 +0200 | +++ pwcview.c | ||||
@@ -837,6 +837,8 @@ | @@ -837,6 +837,8 @@ void jpeg_write(int height, JSAMPIMAGE jimage, struct | ||||
jdata[1] = jimage[1]; | jdata[1] = jimage[1]; | ||||
jdata[2] = jimage[2]; | jdata[2] = jimage[2]; | ||||
+ cinfo->raw_data_in = TRUE; | + cinfo->raw_data_in = TRUE; | ||||
+ cinfo->do_fancy_downsampling = FALSE; | + cinfo->do_fancy_downsampling = FALSE; | ||||
jpeg_stdio_dest(cinfo, outfile); | jpeg_stdio_dest(cinfo, outfile); | ||||
jpeg_start_compress(cinfo, TRUE); | jpeg_start_compress(cinfo, TRUE); | ||||