From: Yaowu Xu Date: Tue, 1 Mar 2016 17:47:04 +0000 (-0800) Subject: Fix a unused function warning with var_tx on X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0cfa89c0ebf05c1901eb877661ea6f810097c7d1;p=libvpx Fix a unused function warning with var_tx on Change-Id: I1e65d7e1586d8c7c65bb150b1a928cf3adf97366 --- 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,