From f1d512de2feb386827493a90ea93d785307a626c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kornel=20Lesin=CC=81ski?= Date: Thu, 13 Feb 2020 12:00:52 +0000 Subject: [PATCH] Make test output match turbojpeg tests --- turbojpeg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/turbojpeg.c b/turbojpeg.c index 33ae14c7e..17484796f 100644 --- a/turbojpeg.c +++ b/turbojpeg.c @@ -476,6 +476,7 @@ static tjhandle _tjInitCompress(tjinstance *this) } jpeg_create_compress(&this->cinfo); + jpeg_c_set_int_param(&this->cinfo, JINT_COMPRESS_PROFILE, JCP_FASTEST); /* Make an initial call so it will create the destination manager */ jpeg_mem_dest_tj(&this->cinfo, &buf, &size, 0);