Fix HBD compilation of daala_dist
Change-Id: Ied6a0250126587d22c50d895680eafccd8396062
diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c
index b714887..e53a135 100644
--- a/av1/encoder/rdopt.c
+++ b/av1/encoder/rdopt.c
@@ -6545,12 +6545,12 @@
#if CONFIG_HIGHBITDEPTH
if (xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) {
aom_highbd_subtract_block(
- height, width,
+ bsh, bsw,
av1_raster_block_offset_int16(BLOCK_8X8, i, p->src_diff), 8,
src_sub8x8, p->src.stride, dst_sub8x8, pd->dst.stride, xd->bd);
} else {
aom_subtract_block(
- height, width,
+ bsh, bsw,
av1_raster_block_offset_int16(BLOCK_8X8, i, p->src_diff), 8,
src_sub8x8, p->src.stride, dst_sub8x8, pd->dst.stride);
}