Fix build when INPUT_SMOOTHING_SUPPORTED is undefined

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1435 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
DRC
2014-12-01 19:54:15 +00:00
parent 2a6b8316fc
commit b329697ded

View File

@@ -514,8 +514,9 @@ jinit_downsampler (j_compress_ptr cinfo)
#endif
downsample->methods[ci] = h2v2_smooth_downsample;
downsample->pub.need_context_rows = TRUE;
} else {
} else
#endif
{
if (jsimd_can_h2v2_downsample())
downsample->methods[ci] = jsimd_h2v2_downsample;
else