]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/base64.h
Support wb00+dc00 chunk mix.
[ffmpeg] / libavutil / base64.h
index 5658ee837a7d5f4093fe970c1f1316051d27cba4..e95e4ea3e30579c7297355c3e49857a37614707c 100644 (file)
  * 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()
@@ -28,6 +33,8 @@ int av_base64_decode(uint8_t * out, const char *in, int out_length);
 /**
  * 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 */