| OLD | NEW |
| 1 /* | 1 /* |
| 2 * VorbisComment writer | 2 * VorbisComment writer |
| 3 * Copyright (c) 2009 James Darnley | 3 * Copyright (c) 2009 James Darnley |
| 4 * | 4 * |
| 5 * This file is part of FFmpeg. | 5 * This file is part of FFmpeg. |
| 6 * | 6 * |
| 7 * FFmpeg is free software; you can redistribute it and/or | 7 * FFmpeg is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Lesser General Public | 8 * modify it under the terms of the GNU Lesser General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2.1 of the License, or (at your option) any later version. | 10 * version 2.1 of the License, or (at your option) any later version. |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 * Writes a VorbisComment into a buffer. The buffer, p, must have enough | 42 * Writes a VorbisComment into a buffer. The buffer, p, must have enough |
| 43 * data to hold the whole VorbisComment. The minimum size required can be | 43 * data to hold the whole VorbisComment. The minimum size required can be |
| 44 * obtained by passing the same AVMetadata and vendor_string to | 44 * obtained by passing the same AVMetadata and vendor_string to |
| 45 * ff_vorbiscomment_length() | 45 * ff_vorbiscomment_length() |
| 46 * | 46 * |
| 47 * @param p The buffer in which to write. | 47 * @param p The buffer in which to write. |
| 48 * @param m The metadata struct to write. | 48 * @param m The metadata struct to write. |
| 49 * @param vendor_string The vendor string to write. | 49 * @param vendor_string The vendor string to write. |
| 50 * @param count The number of tags in m because m->count is "not allowed" | 50 * @param count The number of tags in m because m->count is "not allowed" |
| 51 */ | 51 */ |
| 52 int ff_vorbiscomment_write(uint8_t **p, AVMetadata *m, | 52 int ff_vorbiscomment_write(uint8_t **p, AVMetadata **m, |
| 53 const char *vendor_string, const unsigned count); | 53 const char *vendor_string, const unsigned count); |
| 54 | 54 |
| 55 extern const AVMetadataConv ff_vorbiscomment_metadata_conv[]; | 55 extern const AVMetadataConv ff_vorbiscomment_metadata_conv[]; |
| 56 | 56 |
| 57 #endif /* AVFORMAT_VORBISCOMMENT_H */ | 57 #endif /* AVFORMAT_VORBISCOMMENT_H */ |
| OLD | NEW |