Skip to content

Commit

Permalink
Fix build whenever IDCT_SCALING_SUPPORTED is undefined
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1596 632fc199-4ca6-4c93-a231-07263d6284db
  • Loading branch information
dcommander committed Jul 14, 2015
2 parents 4ff62e0 + b157972 commit 8026b0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jddctmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ start_pass (j_decompress_ptr cinfo)
break;
}
break;
#ifdef IDCT_SCALING_SUPPORTED
case 9:
method_ptr = jpeg_idct_9x9;
method = JDCT_ISLOW; /* jidctint uses islow-style table */
Expand Down Expand Up @@ -218,6 +219,7 @@ start_pass (j_decompress_ptr cinfo)
method_ptr = jpeg_idct_16x16;
method = JDCT_ISLOW; /* jidctint uses islow-style table */
break;
#endif
default:
ERREXIT1(cinfo, JERR_BAD_DCTSIZE, compptr->_DCT_scaled_size);
break;
Expand Down

0 comments on commit 8026b0f

Please sign in to comment.