From 220bd888e05696acbe1dd47f96ded78c389fc27f Mon Sep 17 00:00:00 2001 From: jstebbins Date: Mon, 16 Mar 2015 15:48:55 +0000 Subject: decomb: oops, fix overread when height is mod 4 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6994 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/decomb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb/decomb.c') diff --git a/libhb/decomb.c b/libhb/decomb.c index 0c8ea0529..ff1d566fa 100644 --- a/libhb/decomb.c +++ b/libhb/decomb.c @@ -2094,7 +2094,7 @@ static int hb_decomb_init( hb_filter_object_t * filter, */ thread_args->segment_height[pp] = (hb_image_height(init->pix_fmt, init->geometry.height, pp) - - thread_args->segment_start[pp] + 3) & ~1; + thread_args->segment_start[pp] + 3) & ~3; } else { thread_args->segment_height[pp] = pv->segment_height[pp]; } -- cgit v1.2.3