shithub: libvpx

Download patch

ref: efe05b7437bc2212dd96ec1bd4d9b2b596c68c2e
parent: 15f9077ee2a6632beac2978e2574b2fc223613b1
author: Yaowu Xu <yaowu@google.com>
date: Wed Jun 12 06:32:38 EDT 2013

fix a mis use of ref_frame

Change-Id: I9aac140d775b7b4a8727494d15b185b75501a546

--- a/vp9/common/vp9_loopfilter.c
+++ b/vp9/common/vp9_loopfilter.c
@@ -287,7 +287,7 @@
     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;
--