X-Git-Url: https://git.sesse.net/?p=fjl;a=blobdiff_plain;f=idct_imprecise_int.c;h=7048a66c9c2a4ecf221c0d2d2628fa19fcf0bfec;hp=6dd698349eda339989b86e57994639fa5a5bf750;hb=0e688f0b5db93745648802bdf1c96d0d526eb9ff;hpb=85cda6b1da31916b0127d1217825dea725619245 diff --git a/idct_imprecise_int.c b/idct_imprecise_int.c index 6dd6983..7048a66 100644 --- a/idct_imprecise_int.c +++ b/idct_imprecise_int.c @@ -14,7 +14,7 @@ struct idct_imprecise_int_userdata { }; #define PRECISION 12 -#define ROUND_BIAS (1LL << (PRECISION - 1)) +#define ROUND_BIAS (257LL << (PRECISION - 1)) #define FIX(x) ((int32_t)((x) * (1LL << PRECISION) + 0.5))