summaryrefslogtreecommitdiffstats
path: root/libhb/decomb.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/decomb.c')
-rw-r--r--libhb/decomb.c4
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 );