summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHenrik Gramner <henrik@gramner.com>2015-10-01 19:25:33 +0200
committerHenrik Gramner <henrik@gramner.com>2015-10-04 15:35:16 +0200
commitec85153f252ce1cc1ce0612237b9df26cb37f293 (patch)
tree890164573334f76a467bca3726f38e8510dd1ca2 /tests
parent5d926d5473886a20fed72e3e94e0637edf2d755a (diff)
checkasm: Fix compilation with --disable-avcodec
Diffstat (limited to 'tests')
-rw-r--r--tests/checkasm/checkasm.c42
1 files changed, 22 insertions, 20 deletions
diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c
index d7c2e8a3ef..264473a4f8 100644
--- a/tests/checkasm/checkasm.c
+++ b/tests/checkasm/checkasm.c
@@ -57,26 +57,28 @@ static const struct {
const char *name;
void (*func)(void);
} tests[] = {
-#if CONFIG_BSWAPDSP
- { "bswapdsp", checkasm_check_bswapdsp },
-#endif
-#if CONFIG_FLACDSP
- { "flacdsp", checkasm_check_flacdsp },
-#endif
-#if CONFIG_H264PRED
- { "h264pred", checkasm_check_h264pred },
-#endif
-#if CONFIG_H264QPEL
- { "h264qpel", checkasm_check_h264qpel },
-#endif
-#if CONFIG_JPEG2000_DECODER
- { "jpeg2000dsp", checkasm_check_jpeg2000dsp },
-#endif
-#if CONFIG_V210_ENCODER
- { "v210enc", checkasm_check_v210enc },
-#endif
-#if CONFIG_VP9_DECODER
- { "vp9dsp", checkasm_check_vp9dsp },
+#if CONFIG_AVCODEC
+ #if CONFIG_BSWAPDSP
+ { "bswapdsp", checkasm_check_bswapdsp },
+ #endif
+ #if CONFIG_FLACDSP
+ { "flacdsp", checkasm_check_flacdsp },
+ #endif
+ #if CONFIG_H264PRED
+ { "h264pred", checkasm_check_h264pred },
+ #endif
+ #if CONFIG_H264QPEL
+ { "h264qpel", checkasm_check_h264qpel },
+ #endif
+ #if CONFIG_JPEG2000_DECODER
+ { "jpeg2000dsp", checkasm_check_jpeg2000dsp },
+ #endif
+ #if CONFIG_V210_ENCODER
+ { "v210enc", checkasm_check_v210enc },
+ #endif
+ #if CONFIG_VP9_DECODER
+ { "vp9dsp", checkasm_check_vp9dsp },
+ #endif
#endif
{ NULL }
};