From: Yaowu Xu Date: Wed, 12 Jun 2013 17:32:38 +0000 (-0700) Subject: fix a mis use of ref_frame X-Git-Tag: v1.3.0~1109 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=efe05b7437bc2212dd96ec1bd4d9b2b596c68c2e;p=libvpx fix a mis use of ref_frame Change-Id: I9aac140d775b7b4a8727494d15b185b75501a546 --- diff --git a/vp9/common/vp9_loopfilter.c b/vp9/common/vp9_loopfilter.c index 0aba71927..cad08bbf3 100644 --- a/vp9/common/vp9_loopfilter.c +++ b/vp9/common/vp9_loopfilter.c @@ -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;