From 8dc1b7bd228c9d44c40e5760b607d24e5e654703 Mon Sep 17 00:00:00 2001
From: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Date: Tue, 22 Oct 2013 19:11:31 +0100
Subject: [PATCH] base64-test: Remove posibility of returning restricted exit
 codes

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
---
 libavutil/base64.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/libavutil/base64.c b/libavutil/base64.c
index d16195f1b90..725b03504d6 100644
--- a/libavutil/base64.c
+++ b/libavutil/base64.c
@@ -156,7 +156,10 @@ int main(void)
     for (i = 0; i < FF_ARRAY_ELEMS(tests); i++)
         error_count += test_encode_decode(tests[i].data, strlen(tests[i].data), tests[i].encoded_ref);
 
-    return error_count;
+    if (error_count)
+        printf("Error Count: %d.\n", error_count);
+
+    return !!error_count;
 }
 
 #endif
-- 
GitLab