summaryrefslogtreecommitdiff
path: root/libavcodec/simple_idct.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-02-23 09:51:07 +0100
committerDiego Biurrun <diego@biurrun.de>2016-02-24 11:41:01 +0100
commitd6e49096c0c3c10ffb176761b0da150c93bedbf6 (patch)
tree85f76865206a1400ed5ff33a65ffa56fb85761e2 /libavcodec/simple_idct.c
parent3c53627ac17fc6bdea5029be57da1e03b32d265d (diff)
idct: Only build prores IDCT if ProRes decoder is enabled
Diffstat (limited to 'libavcodec/simple_idct.c')
-rw-r--r--libavcodec/simple_idct.c2
1 files changed, 2 insertions, 0 deletions
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 */