diff options
author | Luca Abeni <lucabe72@email.it> | 2007-10-30 15:32:52 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2007-10-30 15:32:52 +0000 |
commit | e76e2bbc0937ff456e1f4ad5b98851fe6ccc8005 (patch) | |
tree | b3e7957355e9ac9894c91105fc8c92a9973d22b3 /libavutil/base64.c | |
parent | ecdcbbf66a0242ae93499824ff5aaff9f4d1bd77 (diff) | |
download | ffmpeg-e76e2bbc0937ff456e1f4ad5b98851fe6ccc8005.tar.gz |
Mark the source buffer as "const"
Originally committed as revision 10877 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/base64.c')
-rw-r--r-- | libavutil/base64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/base64.c b/libavutil/base64.c index bee800c824..09dcf99567 100644 --- a/libavutil/base64.c +++ b/libavutil/base64.c @@ -70,7 +70,7 @@ int av_base64_decode(uint8_t * out, const char *in, int out_length) * fixed edge cases and made it work from data (vs. strings) by ryan. *****************************************************************************/ -char *av_base64_encode(char * buf, int buf_len, uint8_t * src, int len) +char *av_base64_encode(char * buf, int buf_len, const uint8_t * src, int len) { static const char b64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; |