From d6e49096c0c3c10ffb176761b0da150c93bedbf6 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 23 Feb 2016 09:51:07 +0100 Subject: idct: Only build prores IDCT if ProRes decoder is enabled --- libavcodec/simple_idct.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/simple_idct.c') diff --git a/libavcodec/simple_idct.c b/libavcodec/simple_idct.c index f61e9e639d..6ee1320394 100644 --- a/libavcodec/simple_idct.c +++ b/libavcodec/simple_idct.c @@ -218,6 +218,7 @@ void ff_simple_idct44_add(uint8_t *dest, int line_size, int16_t *block) } } +#if CONFIG_PRORES_DECODER void ff_prores_idct(int16_t *block, const int16_t *qmat) { int i; @@ -231,3 +232,4 @@ void ff_prores_idct(int16_t *block, const int16_t *qmat) for (i = 0; i < 8; i++) idctSparseCol_10(block + i); } +#endif /* CONFIG_PRORES_DECODER */ -- cgit v1.2.3