diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-01-21 17:34:40 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-01-21 17:34:40 +0000 |
commit | 448887a6bb44b267e897899ca48b71bd4f407711 (patch) | |
tree | 236b4f6481dac0cfe8d5ea9d2e0c30b014794517 | |
parent | 40f5cd89c943d907922c949f1d78ff3a2bf0f9df (diff) | |
download | ffmpeg-448887a6bb44b267e897899ca48b71bd4f407711.tar.gz |
Make base64 test program compilable as a standard test program.
Originally committed as revision 16713 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavutil/base64.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libavutil/base64.c b/libavutil/base64.c index 95f551dbb5..0e9ce35e9c 100644 --- a/libavutil/base64.c +++ b/libavutil/base64.c @@ -100,12 +100,11 @@ char *av_base64_encode(char * buf, int buf_len, const uint8_t * src, int len) return ret; } -// #define TEST_BASE64 +#ifdef TEST +#include "log.h" +#include "mem.h" -#ifdef TEST_BASE64 -#include "avutil.h" - -int b64test(void) +int main(void) { int numerr = 0; int len; |