Make base64 test program compilable as a standard test program.

Originally committed as revision 16713 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2009-01-21 17:34:40 +00:00
parent 40f5cd89c9
commit 448887a6bb
1 changed files with 4 additions and 5 deletions

View File

@ -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;