[SCM] libav/experimental: Make base64 test program compilable as a standard test program.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:35:46 UTC 2013
The following commit has been merged in the experimental branch:
commit 448887a6bb44b267e897899ca48b71bd4f407711
Author: Diego Biurrun <diego at biurrun.de>
Date: Wed Jan 21 17:34:40 2009 +0000
Make base64 test program compilable as a standard test program.
Originally committed as revision 16713 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavutil/base64.c b/libavutil/base64.c
index 95f551d..0e9ce35 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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list