diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2013-10-22 19:11:31 +0100 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2013-10-25 11:06:32 +0100 |
commit | 8dc1b7bd228c9d44c40e5760b607d24e5e654703 (patch) | |
tree | e5e4550760f822c00a29d151afee6b8f124ae769 | |
parent | 530cd2893e020206262a146d567c707ef93baf31 (diff) | |
download | ffmpeg-8dc1b7bd228c9d44c40e5760b607d24e5e654703.tar.gz |
base64-test: Remove posibility of returning restricted exit codes
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-rw-r--r-- | libavutil/base64.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavutil/base64.c b/libavutil/base64.c index d16195f1b9..725b03504d 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 |