[FFmpeg-cvslog] r16713 - trunk/libavutil/base64.c

diego subversion
Wed Jan 21 18:34:40 CET 2009


Author: diego
Date: Wed Jan 21 18:34:40 2009
New Revision: 16713

Log:
Make base64 test program compilable as a standard test program.

Modified:
   trunk/libavutil/base64.c

Modified: trunk/libavutil/base64.c
==============================================================================
--- trunk/libavutil/base64.c	Wed Jan 21 15:28:16 2009	(r16712)
+++ trunk/libavutil/base64.c	Wed Jan 21 18:34:40 2009	(r16713)
@@ -100,12 +100,11 @@ char *av_base64_encode(char * buf, int b
     return ret;
 }
 
-// #define TEST_BASE64
-
-#ifdef TEST_BASE64
-#include "avutil.h"
+#ifdef TEST
+#include "log.h"
+#include "mem.h"
 
-int b64test(void)
+int main(void)
 {
     int numerr = 0;
     int len;




More information about the ffmpeg-cvslog mailing list