Commit 54294194 authored by Angie Chiang's avatar Angie Chiang Committed by Yaowu Xu

Fix segmentation fault of dual_filter in hbd mode

BUG=aomedia:142

Change-Id: Id21dd2d19e1e46a9225cd5f8f8b0705ae178118c
parent 561eb72f
......@@ -965,8 +965,13 @@ void build_inter_predictors(MACROBLOCKD *xd, int plane,
}
#if CONVOLVE_POST_ROUNDING
// TODO(angiebird): This part needs optimization
// TODO(angiebird): This part needs optimization
#if CONFIG_AOM_HIGHBITDEPTH
if (!(xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH))
av1_convolve_rounding(tmp_dst, MAX_SB_SIZE, dst, dst_buf->stride, w, h);
#else
av1_convolve_rounding(tmp_dst, MAX_SB_SIZE, dst, dst_buf->stride, w, h);
#endif
#endif // CONVOLVE_POST_ROUNDING
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment