diff options
-rw-r--r-- | scale.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -536,7 +536,7 @@ static void scale_select_scaler(unsigned w, unsigned h, size_t pitch) { blend_args.h_ratio_in = h / gcd_h; blend_args.h_ratio_out = dst_h / gcd_h; - div_h = (blend_args.w_ratio_out + 2) / 5; /* rounded integer divide by 5 */ + div_h = (blend_args.h_ratio_out + 2) / 5; /* rounded integer divide by 5 */ blend_args.h_bp[0] = div_h; blend_args.h_bp[1] = blend_args.h_ratio_out >> 1; |