comparison base64.h @ 957:e34e8d654ded libavutil

Fix grammar errors in documentation
author mru
date Wed, 30 Jun 2010 15:38:06 +0000
parents d0be85c9c96f
children f789d66969a4
comparison
equal deleted inserted replaced
956:2894d4c208dc 957:e34e8d654ded
22 #define AVUTIL_BASE64_H 22 #define AVUTIL_BASE64_H
23 23
24 #include <stdint.h> 24 #include <stdint.h>
25 25
26 /** 26 /**
27 * Decodes the base64-encoded string in in and puts the decoded 27 * Decode the base64-encoded string in in and put the decoded
28 * data in out. 28 * data in out.
29 * 29 *
30 * @param out_size size in bytes of the out buffer, it should be at 30 * @param out_size size in bytes of the out buffer, it should be at
31 * least 3/4 of the length of in 31 * least 3/4 of the length of in
32 * @return the number of bytes written, or a negative value in case of 32 * @return the number of bytes written, or a negative value in case of
33 * error 33 * error
34 */ 34 */
35 int av_base64_decode(uint8_t *out, const char *in, int out_size); 35 int av_base64_decode(uint8_t *out, const char *in, int out_size);
36 36
37 /** 37 /**
38 * Encodes in base64 the data in in and puts the resulting string 38 * Encode in base64 the data in in and put the resulting string
39 * in out. 39 * in out.
40 * 40 *
41 * @param out_size size in bytes of the out string, it should be at 41 * @param out_size size in bytes of the out string, it should be at
42 * least ((in_size + 2) / 3) * 4 + 1 42 * least ((in_size + 2) / 3) * 4 + 1
43 * @param in_size size in bytes of the in buffer 43 * @param in_size size in bytes of the in buffer