[FFmpeg-cvslog] base64-test: Remove posibility of returning restricted exit codes
Derek Buitenhuis
git at videolan.org
Fri Oct 25 13:47:38 CEST 2013
ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Tue Oct 22 19:11:31 2013 +0100| [8dc1b7bd228c9d44c40e5760b607d24e5e654703] | committer: Derek Buitenhuis
base64-test: Remove posibility of returning restricted exit codes
Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8dc1b7bd228c9d44c40e5760b607d24e5e654703
---
libavutil/base64.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libavutil/base64.c b/libavutil/base64.c
index d16195f..725b0350 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
More information about the ffmpeg-cvslog
mailing list