Commit b4ed1493 authored by hui su's avatar hui su Committed by Hui Su

filter-intra: fix compiler warnings when cb4x4 is off

Change-Id: I995b1ba6b1dafeceb1e75a3d71d6630215a8df68
parent 749f5cd5
...@@ -782,7 +782,10 @@ static void read_filter_intra_mode_info(AV1_COMMON *const cm, ...@@ -782,7 +782,10 @@ static void read_filter_intra_mode_info(AV1_COMMON *const cm,
xd->plane[1].subsampling_x, xd->plane[1].subsampling_x,
xd->plane[1].subsampling_y)) xd->plane[1].subsampling_y))
return; return;
#endif #else
(void)mi_row;
(void)mi_col;
#endif // CONFIG_CB4X4
if (mbmi->uv_mode == DC_PRED if (mbmi->uv_mode == DC_PRED
#if CONFIG_PALETTE #if CONFIG_PALETTE
......
...@@ -1244,7 +1244,11 @@ static void write_filter_intra_mode_info(const AV1_COMMON *const cm, ...@@ -1244,7 +1244,11 @@ static void write_filter_intra_mode_info(const AV1_COMMON *const cm,
xd->plane[1].subsampling_x, xd->plane[1].subsampling_x,
xd->plane[1].subsampling_y)) xd->plane[1].subsampling_y))
return; return;
#endif #else
(void)xd;
(void)mi_row;
(void)mi_col;
#endif // CONFIG_CB4X4
if (mbmi->uv_mode == DC_PRED if (mbmi->uv_mode == DC_PRED
#if CONFIG_PALETTE #if CONFIG_PALETTE
......
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