diff options
author | John Stebbins <[email protected]> | 2019-01-18 14:27:14 -0800 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-01-20 09:20:47 -0800 |
commit | 563958843beb27b410df19a020e35e51afa298a0 (patch) | |
tree | 9858a9158b3c4812ecae2531e6a7ead8d9ba07dc /libhb/lapsharp.c | |
parent | 96e63ecf50d0bafd273ea17ff3f3bbf49ff42f7b (diff) |
lapsharp: blank frame buffer stride region
Zero is not black. Stride is used in computations and is assumed black.
Fixes https://github.com/HandBrake/HandBrake/issues/1751
Diffstat (limited to 'libhb/lapsharp.c')
-rw-r--r-- | libhb/lapsharp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/lapsharp.c b/libhb/lapsharp.c index eb1c72aee..29d3122f5 100644 --- a/libhb/lapsharp.c +++ b/libhb/lapsharp.c @@ -283,6 +283,7 @@ static int hb_lapsharp_work(hb_filter_object_t *filter, return HB_FILTER_DONE; } + hb_frame_buffer_blank_stride(in); out = hb_frame_buffer_init(in->f.fmt, in->f.width, in->f.height); int c; |