Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2018-11-15 23:24:56 +0300
committerJanne Grunau <janne-vlc@jannau.net>2018-11-16 01:03:30 +0300
commitd27598e418b0b9916c35b3e5187a5f98c00fe701 (patch)
treea5a39d1bd21aa23dd5c7a6163762257bdade50c6
parent14388c3c6b53a5c2fea329e36693fd092042d392 (diff)
Clip unscaled output pixels in put_8tap_scaled_c()
-rw-r--r--src/mc_tmpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mc_tmpl.c b/src/mc_tmpl.c
index 1881243..cc753df 100644
--- a/src/mc_tmpl.c
+++ b/src/mc_tmpl.c
@@ -181,7 +181,7 @@ put_8tap_scaled_c(pixel *dst, const ptrdiff_t dst_stride,
for (x = 0; x < w; x++)
dst[x] = fv ? FILTER_8TAP_CLIP(mid_ptr, x, fv, 128, 10) :
- (mid_ptr[x] + 8) >> 4;
+ iclip_pixel((mid_ptr[x] + 8) >> 4);
my += dy;
mid_ptr += (my >> 10) * 128;