Commit a7f0244e9bf31233918388cc0321e01ccc07ba5c

Dmitry Tsarevich 2022-01-06T02:21:10

turbojpeg.h: Parenthesize TJSCALED() dimension arg This ensures that, for example, TJSCALED(dim0 + dim1, sf) will evaluate to (((dim0 + dim1) * sf.num + sf.denom - 1) / sf.denom) rather than ((dim0 + (dim1 * sf.num) + sf.denom - 1) / sf.denom)