From 3b489c3af780cfd1c9243eb58eb12f76a76491ee Mon Sep 17 00:00:00 2001 From: DRC Date: Wed, 14 May 2014 14:57:01 +0000 Subject: [PATCH] Minor tweak to improve code readability git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1299 632fc199-4ca6-4c93-a231-07263d6284db --- jcsample.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jcsample.c b/jcsample.c index 4662bee..76dcfcd 100644 --- a/jcsample.c +++ b/jcsample.c @@ -506,12 +506,13 @@ jinit_downsampler (j_compress_ptr cinfo) if (cinfo->smoothing_factor) { 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 downsample->methods[ci] = h2v2_downsample; + } } else if ((cinfo->max_h_samp_factor % compptr->h_samp_factor) == 0 && (cinfo->max_v_samp_factor % compptr->v_samp_factor) == 0) { smoothok = FALSE; -- 2.40.0