1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

idct: Only build prores IDCT if ProRes decoder is enabled

This commit is contained in:
Diego Biurrun 2016-02-23 09:51:07 +01:00
parent 3c53627ac1
commit d6e49096c0

View 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) void ff_prores_idct(int16_t *block, const int16_t *qmat)
{ {
int i; int i;
@ -231,3 +232,4 @@ void ff_prores_idct(int16_t *block, const int16_t *qmat)
for (i = 0; i < 8; i++) for (i = 0; i < 8; i++)
idctSparseCol_10(block + i); idctSparseCol_10(block + i);
} }
#endif /* CONFIG_PRORES_DECODER */