| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2006 Ryan Martell. (rdm4@martellventures.com) | 2 * Copyright (c) 2006 Ryan Martell. (rdm4@martellventures.com) |
| 3 * | 3 * |
| 4 * This file is part of FFmpeg. | 4 * This file is part of FFmpeg. |
| 5 * | 5 * |
| 6 * FFmpeg is free software; you can redistribute it and/or | 6 * FFmpeg is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Lesser General Public | 7 * modify it under the terms of the GNU Lesser General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2.1 of the License, or (at your option) any later version. | 9 * version 2.1 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 * | 40 * |
| 41 * @param out_size size in bytes of the \p out string, it should be at | 41 * @param out_size size in bytes of the \p out string, it should be at |
| 42 * least ((\p in_size + 2) / 3) * 4 + 1 | 42 * least ((\p in_size + 2) / 3) * 4 + 1 |
| 43 * @param in_size size in bytes of the \p in buffer | 43 * @param in_size size in bytes of the \p in buffer |
| 44 * @return the string containing the encoded data, or NULL in case of | 44 * @return the string containing the encoded data, or NULL in case of |
| 45 * error | 45 * error |
| 46 */ | 46 */ |
| 47 char *av_base64_encode(char *out, int out_size, const uint8_t *in, int in_size); | 47 char *av_base64_encode(char *out, int out_size, const uint8_t *in, int in_size); |
| 48 | 48 |
| 49 #endif /* AVUTIL_BASE64_H */ | 49 #endif /* AVUTIL_BASE64_H */ |
| OLD | NEW |