Skip to content
Snippets Groups Projects
Commit d6e49096 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

idct: Only build prores IDCT if ProRes decoder is enabled

parent 3c53627a
No related branches found
No related tags found
No related merge requests found
...@@ -218,6 +218,7 @@ void ff_simple_idct44_add(uint8_t *dest, int line_size, int16_t *block) ...@@ -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) ...@@ -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 */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment