summaryrefslogtreecommitdiffstats
path: root/libhb/deblock.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-12-16 16:50:50 +0000
committerjstebbins <[email protected]>2014-12-16 16:50:50 +0000
commitf56efd7b52c89da8cac55b4d4a187f2c87fdfee6 (patch)
tree24eacb856704fa8e4b8b8f0edc76568916f70255 /libhb/deblock.c
parentd0a975e42dcab93e1d2eead350fb1ba3951d977c (diff)
json: add json APIs
There are several changes to job and title structs that break current windows interop code. The interop code should be changed such that it only uses json APIs. So if there is any missing features (or bugs) in these APIs, please let me know. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6602 b64f7644-9d1e-0410-96f1-a4d463321fa5
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) );