summaryrefslogtreecommitdiffstats
path: root/libhb/deblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/deblock.c')
-rw-r--r--libhb/deblock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/deblock.c b/libhb/deblock.c
index 1d50fc552..5acb3f5d0 100644
--- a/libhb/deblock.c
+++ b/libhb/deblock.c
@@ -371,9 +371,9 @@ static int hb_deblock_init( hb_filter_object_t * filter,
break;
}
- int h = (init->height+16+15)&(~15);
+ int h = (init->geometry.height + 16 + 15) & (~15);
- pv->pp7_temp_stride = (init->width+16+15)&(~15);
+ pv->pp7_temp_stride = (init->geometry.width + 16 + 15) & (~15);
pv->pp7_src = (uint8_t*)malloc( pv->pp7_temp_stride*(h+8)*sizeof(uint8_t) );