ports/multimedia/pwcbsd/files/patch-pwcview.c
John Baldwin 2d110721bf multimedia/pwcbsd: Clean up local patches.
- Convert unconditional EXTRA_PATCHES to regular patches (they used to
  be conditional on an OSVERSION check removed several years ago)

- Regenerate patches with make makepatch to ease future maintenance.

Differential Revision:	https://reviews.freebsd.org/D35949
2022-08-22 11:13:49 -07: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);