From 0cfa89c0ebf05c1901eb877661ea6f810097c7d1 Mon Sep 17 00:00:00 2001 From: Yaowu Xu Date: Tue, 1 Mar 2016 09:47:04 -0800 Subject: [PATCH] Fix a unused function warning with var_tx on Change-Id: I1e65d7e1586d8c7c65bb150b1a928cf3adf97366 --- vp10/decoder/decodeframe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vp10/decoder/decodeframe.c b/vp10/decoder/decodeframe.c index 4136f14ff..2c2dc485b 100644 --- a/vp10/decoder/decodeframe.c +++ b/vp10/decoder/decodeframe.c @@ -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, -- 2.40.0