---
 tests/checkasm/checkasm.c | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c
index 9219a83..3ed78b6 100644
--- a/tests/checkasm/checkasm.c
+++ b/tests/checkasm/checkasm.c
@@ -57,17 +57,19 @@ static const struct {
     const char *name;
     void (*func)(void);
 } tests[] = {
-#if CONFIG_BSWAPDSP
-    { "bswapdsp", checkasm_check_bswapdsp },
-#endif
-#if CONFIG_H264PRED
-    { "h264pred", checkasm_check_h264pred },
-#endif
-#if CONFIG_H264QPEL
-    { "h264qpel", checkasm_check_h264qpel },
-#endif
-#if CONFIG_V210_ENCODER
-    { "v210enc", checkasm_check_v210enc },
+#if CONFIG_AVCODEC
+    #if CONFIG_BSWAPDSP
+        { "bswapdsp", checkasm_check_bswapdsp },
+    #endif
+    #if CONFIG_H264PRED
+        { "h264pred", checkasm_check_h264pred },
+    #endif
+    #if CONFIG_H264QPEL
+        { "h264qpel", checkasm_check_h264qpel },
+    #endif
+    #if CONFIG_V210_ENCODER
+        { "v210enc", checkasm_check_v210enc },
+    #endif
 #endif
     { NULL }
 };
-- 
1.9.1

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to