dwebp: use default dct_method

No significant speed diff was observed.
Avoids idct mismatch artifacts.

Change-Id: I9ca64d165d313f23b4aa231e7a97a20213ff86c7
This commit is contained in:
Pascal Massimino 2013-09-01 22:36:25 -07:00 committed by James Zern
parent 4bb8465f8c
commit b11c9d6284

View File

@ -232,7 +232,6 @@ int ReadJPEG(FILE* in_file, WebPPicture* const pic, Metadata* const metadata) {
jpeg_read_header(&dinfo, TRUE);
dinfo.out_color_space = JCS_RGB;
dinfo.dct_method = JDCT_IFAST;
dinfo.do_fancy_upsampling = TRUE;
jpeg_start_decompress(&dinfo);