* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef FFMPEG_BASE64_H
+#define FFMPEG_BASE64_H
+
+#include <stdint.h>
+
/**
* decodes base64
* param order as strncpy()
/**
* encodes base64
* @param src data, not a string
+ * @param buf output string
*/
-char *av_base64_encode(uint8_t * src, int len);
+char *av_base64_encode(char * buf, int buf_len, const uint8_t * src, int len);
+#endif /* FFMPEG_BASE64_H */