From bb0eb714bd8343dfc69857914b99ccd3438430bf Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Wed, 28 Feb 2007 03:28:31 +0000 Subject: get_packetheader() forgot to read the header_checksum in big packets patch from Clemens Ladisch cladisch AT fastmail dot net (stray base64 patch reverted in the next commits) Originally committed as revision 8156 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/base64.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libavutil/base64.h') diff --git a/libavutil/base64.h b/libavutil/base64.h index 5658ee837a..8cabd01501 100644 --- a/libavutil/base64.h +++ b/libavutil/base64.h @@ -27,7 +27,11 @@ int av_base64_decode(uint8_t * out, const char *in, int out_length); /** * encodes base64 + * @param out string + * @param out_len of the string, must be at least (len * 4 / 3 + 12) * @param src data, not a string + * @param len data length + * @return the zero terminated encoded string or NULL in case of errors */ -char *av_base64_encode(uint8_t * src, int len); +char *av_base64_encode(char *out, int out_len, uint8_t * src, int len); -- cgit v1.2.3