aboutsummaryrefslogtreecommitdiff
path: root/jcsample.c
diff options
context:
space:
mode:
authordcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2014-12-01 19:53:26 +0000
committerdcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2014-12-01 19:53:26 +0000
commit277539265e70a5f8a5e222c20e11d5b2b100b2e0 (patch)
tree379cd04faff94e6bbbb7765104fdad639a4840ee /jcsample.c
parent92a681a9b6da356e02705712eabeeb2218064c66 (diff)
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
Diffstat (limited to 'jcsample.c')
-rw-r--r--jcsample.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/jcsample.c b/jcsample.c
index 286f758..24d31ae 100644
--- a/jcsample.c
+++ b/jcsample.c
@@ -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