projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40f5cd8
)
Make base64 test program compilable as a standard test program.
author
Diego Biurrun
<diego@biurrun.de>
Wed, 21 Jan 2009 17:34:40 +0000
(17:34 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Wed, 21 Jan 2009 17:34:40 +0000
(17:34 +0000)
Originally committed as revision 16713 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/base64.c
patch
|
blob
|
history
diff --git
a/libavutil/base64.c
b/libavutil/base64.c
index
95f551d
..
0e9ce35
100644
(file)
--- 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;