changeset 616:8c6e0f1b21de libavutil

Make base64 test program compilable as a standard test program.
author diego
date Wed, 21 Jan 2009 17:34:40 +0000
parents 44245be3bdcb
children 96a457934740
files base64.c
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/base64.c	Wed Jan 21 14:28:16 2009 +0000
+++ b/base64.c	Wed Jan 21 17:34:40 2009 +0000
@@ -100,12 +100,11 @@
     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;