summaryrefslogtreecommitdiffstats
path: root/libhb/unsharp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/unsharp.c')
-rw-r--r--libhb/unsharp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/unsharp.c b/libhb/unsharp.c
index bf5e8b99b..2e6732179 100644
--- a/libhb/unsharp.c
+++ b/libhb/unsharp.c
@@ -144,7 +144,7 @@ static void unsharp(const uint8_t *src,
{
const uint8_t * srx = src - steps * stride + x - steps;
uint8_t * dsx = dst - steps * stride + x - steps;
-
+
res = (int32_t)*srx + ((((int32_t)*srx -
(int32_t)((Tmp1 + halfscale) >> scalebits)) * amount) >> 16);
*dsx = res > 255 ? 255 : res < 0 ? 0 : (uint8_t)res;