diff options
author | jstebbins <[email protected]> | 2013-12-29 23:30:13 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2013-12-29 23:30:13 +0000 |
commit | 15c345c23d8741a05c5124515adb3985e2b5ad5b (patch) | |
tree | 4b344151053d3d2d9513b0d778516887e65c05c0 | |
parent | ab24a483dcef737bcc49facd3a406b0364ab4098 (diff) |
libhb: fix green line in deinterlace preview and fast deinterlace
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5947 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | libhb/decomb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/decomb.c b/libhb/decomb.c index efad5179c..a05605d0d 100644 --- a/libhb/decomb.c +++ b/libhb/decomb.c @@ -2669,13 +2669,13 @@ void hb_deinterlace(hb_buffer_t *dst, hb_buffer_t *src) uint8_t *psrc = &src->plane[pp].data[0]; /* These will be useful if we ever do temporal blending. */ - for( yy = 0; yy < height; yy += 2 ) + for( yy = 0; yy < height - 1; yy += 2 ) { /* This line gets blend filtered, not yadif filtered. */ memcpy(pdst, psrc, width); pdst += stride; psrc += stride; - blend_filter_line(&filter, pdst, psrc, width, height, stride, yy); + blend_filter_line(&filter, pdst, psrc, width, height, stride, yy + 1); pdst += stride; psrc += stride; } |