X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=idct_imprecise_int.c;h=7048a66c9c2a4ecf221c0d2d2628fa19fcf0bfec;hb=0e688f0b5db93745648802bdf1c96d0d526eb9ff;hp=6dd698349eda339989b86e57994639fa5a5bf750;hpb=d0afece00533a174faf2ce93633ca9731be89fc0;p=fjl 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))