1.1 --- a/src/share/native/sun/awt/image/jpeg/jdhuff.c Thu Jul 02 12:02:08 2020 -0700 1.2 +++ b/src/share/native/sun/awt/image/jpeg/jdhuff.c Fri Sep 11 16:12:45 2020 +0000 1.3 @@ -121,8 +121,7 @@ 1.4 compptr = cinfo->cur_comp_info[ci]; 1.5 /* Precalculate which table to use for each block */ 1.6 entropy->dc_cur_tbls[blkn] = entropy->dc_derived_tbls[compptr->dc_tbl_no]; 1.7 - entropy->ac_cur_tbls[blkn] = /* AC needs no table when not present */ 1.8 - cinfo->lim_Se ? entropy->ac_derived_tbls[compptr->ac_tbl_no] : NULL; 1.9 + entropy->ac_cur_tbls[blkn] = entropy->ac_derived_tbls[compptr->ac_tbl_no]; 1.10 /* Decide whether we really care about the coefficient values */ 1.11 if (compptr->component_needed) { 1.12 entropy->dc_needed[blkn] = TRUE;