]> granicus.if.org Git - libvpx/commitdiff
Fixing error when building with ref_mv experiment
authorJulia Robson <juliamrobson@gmail.com>
Wed, 6 Apr 2016 10:13:58 +0000 (11:13 +0100)
committerJulia Robson <juliamrobson@gmail.com>
Wed, 6 Apr 2016 10:22:10 +0000 (11:22 +0100)
Code was using variable that was only defined when
var_tx was also enabled

Change-Id: Ide02ff99b433bfc5c95b71e700c66562020cedae

vp10/encoder/encodeframe.c

index d1230d330f209b05e684ed497625c0ada86852e5..38c25661277732c74c85fcc358696255309e2777 100644 (file)
@@ -1314,7 +1314,7 @@ static void update_state_supertx(VP10_COMP *cpi, ThreadData *td,
                                  int mi_row, int mi_col, BLOCK_SIZE bsize,
                                  int output_enabled) {
   int y, x_idx;
-#if CONFIG_VAR_TX
+#if CONFIG_VAR_TX || CONFIG_REF_MV
   int i;
 #endif
   VP10_COMMON *const cm = &cpi->common;