Commit f4c904c7 authored by Yaowu Xu's avatar Yaowu Xu

Change the scope of a declaration

This is to avoid compiler warning of "mixed declarations and code".

Change-Id: I887a1cf27e777672563bda527b3d6cf70a589a8a
parent 685039d7
......@@ -1120,15 +1120,16 @@ void av1_build_inter_predictors_sb_sub8x8_extend(MACROBLOCKD *xd,
mi_x, mi_y);
}
#if CONFIG_EXT_INTER
BUFFER_SET ctx = { { xd->plane[0].dst.buf, xd->plane[1].dst.buf,
xd->plane[2].dst.buf },
{ xd->plane[0].dst.stride, xd->plane[1].dst.stride,
xd->plane[2].dst.stride } };
if (is_interintra_pred(&xd->mi[0]->mbmi))
if (is_interintra_pred(&xd->mi[0]->mbmi)) {
BUFFER_SET ctx = { { xd->plane[0].dst.buf, xd->plane[1].dst.buf,
xd->plane[2].dst.buf },
{ xd->plane[0].dst.stride, xd->plane[1].dst.stride,
xd->plane[2].dst.stride } };
av1_build_interintra_predictors(
xd, xd->plane[0].dst.buf, xd->plane[1].dst.buf, xd->plane[2].dst.buf,
xd->plane[0].dst.stride, xd->plane[1].dst.stride,
xd->plane[2].dst.stride, &ctx, bsize);
}
#endif // CONFIG_EXT_INTER
}
......
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