idct: Only build prores IDCT if ProRes decoder is enabled
authorDiego Biurrun <diego@biurrun.de>
Tue, 23 Feb 2016 08:51:07 +0000 (09:51 +0100)
committerDiego Biurrun <diego@biurrun.de>
Wed, 24 Feb 2016 10:41:01 +0000 (11:41 +0100)
libavcodec/simple_idct.c

index f61e9e6..6ee1320 100644 (file)
@@ -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 */