diff options
author | jstebbins <[email protected]> | 2012-06-22 22:19:37 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2012-06-22 22:19:37 +0000 |
commit | c77edecd767e2edd5ed2bb7d6a022eadc196d462 (patch) | |
tree | d80e1f4e39b91fe8654ec992b73926755019aeb3 /libhb/decomb.c | |
parent | c435d481a1e715ff7252df698c3bd073c016d71f (diff) |
Fix second crash in denoise
Problem is actually in decomb. It was chaning the resolution
of the image :O
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4768 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decomb.c')
-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 2f7a35657..fb6444c1c 100644 --- a/libhb/decomb.c +++ b/libhb/decomb.c @@ -1913,9 +1913,9 @@ static int hb_decomb_init( hb_filter_object_t * filter, filter->private_data = calloc( 1, sizeof(struct hb_filter_private_s) ); hb_filter_private_t * pv = filter->private_data; - pv->width[0] = hb_image_stride( init->pix_fmt, init->width, 0 ); + pv->width[0] = hb_image_width( init->pix_fmt, init->width, 0 ); pv->height[0] = hb_image_height( init->pix_fmt, init->height, 0 ); - pv->width[1] = pv->width[2] = hb_image_stride( init->pix_fmt, init->width, 1 ); + pv->width[1] = pv->width[2] = hb_image_width( init->pix_fmt, init->width, 1 ); pv->height[1] = pv->height[2] = hb_image_height( init->pix_fmt, init->height, 1 ); build_gamma_lut( pv ); |