Browse Source

idct: Only build prores IDCT if ProRes decoder is enabled

tags/n3.1
Diego Biurrun 9 years ago
parent
commit
d6e49096c0
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/simple_idct.c

+ 2
- 0
libavcodec/simple_idct.c 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)
{
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 */

Loading…
Cancel
Save