Commit efe05b74 authored by Yaowu Xu's avatar Yaowu Xu
Browse files

fix a mis use of ref_frame

Change-Id: I9aac140d775b7b4a8727494d15b185b75501a546
parent 15f9077e
......@@ -287,7 +287,7 @@ static void filter_block_plane(VP9_COMMON *cm, MACROBLOCKD *xd,
for (c = 0; c < 64 / MI_SIZE && mi_col + c < cm->mi_cols; c += col_step) {
const MODE_INFO * const mi = xd->mode_info_context;
const int skip_this = mi[c].mbmi.mb_skip_coeff
&& mi[c].mbmi.ref_frame != INTRA_FRAME;
&& mi[c].mbmi.ref_frame[0] != INTRA_FRAME;
// left edge of current unit is block/partition edge -> no skip
const int block_edge_left = b_width_log2(mi[c].mbmi.sb_type) ?
!(c & ((1 << (b_width_log2(mi[c].mbmi.sb_type)-1)) - 1)) : 1;
......
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