opnsense-ports/multimedia/pwcbsd/files/patch-pwcview.c
Franco Fichtner db41817b01 */*: sync with upstream
Taken from: FreeBSD
2022-08-23 17:43:08 +02:00

11 lines
325 B
C

--- pwcview.c.orig 2007-10-09 07:03:10 UTC
+++ pwcview.c
@@ -837,6 +837,8 @@ void jpeg_write(int height, JSAMPIMAGE jimage, struct
jdata[1] = jimage[1];
jdata[2] = jimage[2];
+ cinfo->raw_data_in = TRUE;
+ cinfo->do_fancy_downsampling = FALSE;
jpeg_stdio_dest(cinfo, outfile);
jpeg_start_compress(cinfo, TRUE);