]> granicus.if.org Git - libvpx/commitdiff
Fix a unused function warning with var_tx on
authorYaowu Xu <yaowu@google.com>
Tue, 1 Mar 2016 17:47:04 +0000 (09:47 -0800)
committerYaowu Xu <yaowu@google.com>
Tue, 1 Mar 2016 19:05:48 +0000 (11:05 -0800)
Change-Id: I1e65d7e1586d8c7c65bb150b1a928cf3adf97366

vp10/decoder/decodeframe.c

index 4136f14ff5c3819319d8e946b8d6646e01c8cb7b..2c2dc485b695b1e7be47de297bafe1930b31c13f 100644 (file)
@@ -466,6 +466,7 @@ static void decode_reconstruct_tx(MACROBLOCKD *const xd, vpx_reader *r,
 }
 #endif  // CONFIG_VAR_TX
 
+#if !CONFIG_VAR_TX || CONFIG_SUPERTX
 static int reconstruct_inter_block(MACROBLOCKD *const xd,
 #if CONFIG_ANS
                                    const rans_dec_lut *const token_tab,
@@ -492,6 +493,7 @@ static int reconstruct_inter_block(MACROBLOCKD *const xd,
                             pd->dst.stride, eob, block_idx);
   return eob;
 }
+#endif  // !CONFIG_VAR_TX || CONFIG_SUPER_TX
 
 #if (CONFIG_SUPERTX || CONFIG_OBMC)
 static void build_mc_border(const uint8_t *src, int src_stride,