Make test output match turbojpeg tests

This commit is contained in:
Kornel Lesiński
2020-02-13 12:00:52 +00:00
committed by Kornel
parent 751ce7d9f3
commit f1d512de2f

View File

@@ -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);