Fix build when INPUT_SMOOTHING_SUPPORTED is undefined

git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1434 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
Kornel Lesiński
2014-12-05 01:36:27 +00:00
parent de852420c0
commit aed7d4661e

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