[FFmpeg-cvslog] idct: Only build prores IDCT if ProRes decoder is enabled

Diego Biurrun git at videolan.org
Mon Apr 11 15:58:53 CEST 2016


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Feb 23 09:51:07 2016 +0100| [d6e49096c0c3c10ffb176761b0da150c93bedbf6] | committer: Diego Biurrun

idct: Only build prores IDCT if ProRes decoder is enabled

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d6e49096c0c3c10ffb176761b0da150c93bedbf6
---

 libavcodec/simple_idct.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/simple_idct.c b/libavcodec/simple_idct.c
index f61e9e6..6ee1320 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 */



More information about the ffmpeg-cvslog mailing list