Mercurial > libavformat.hg
comparison avformat.h @ 6362:38df997e4331 libavformat
Add empty newlines between function descriptions and @params, improve
readability.
author | stefano |
---|---|
date | Wed, 11 Aug 2010 09:13:53 +0000 |
parents | 93c7a56fa912 |
children | c22c9c5b1588 |
comparison
equal
deleted
inserted
replaced
6361:34df2b405550 | 6362:38df997e4331 |
---|---|
129 typedef struct AVMetadata AVMetadata; | 129 typedef struct AVMetadata AVMetadata; |
130 typedef struct AVMetadataConv AVMetadataConv; | 130 typedef struct AVMetadataConv AVMetadataConv; |
131 | 131 |
132 /** | 132 /** |
133 * Get a metadata element with matching key. | 133 * Get a metadata element with matching key. |
134 * | |
134 * @param prev Set to the previous matching element to find the next. | 135 * @param prev Set to the previous matching element to find the next. |
135 * If set to NULL the first matching element is returned. | 136 * If set to NULL the first matching element is returned. |
136 * @param flags Allows case as well as suffix-insensitive comparisons. | 137 * @param flags Allows case as well as suffix-insensitive comparisons. |
137 * @return Found tag or NULL, changing key or value leads to undefined behavior. | 138 * @return Found tag or NULL, changing key or value leads to undefined behavior. |
138 */ | 139 */ |
140 av_metadata_get(AVMetadata *m, const char *key, const AVMetadataTag *prev, int flags); | 141 av_metadata_get(AVMetadata *m, const char *key, const AVMetadataTag *prev, int flags); |
141 | 142 |
142 #if LIBAVFORMAT_VERSION_MAJOR == 52 | 143 #if LIBAVFORMAT_VERSION_MAJOR == 52 |
143 /** | 144 /** |
144 * Set the given tag in m, overwriting an existing tag. | 145 * Set the given tag in m, overwriting an existing tag. |
146 * | |
145 * @param key tag key to add to m (will be av_strduped) | 147 * @param key tag key to add to m (will be av_strduped) |
146 * @param value tag value to add to m (will be av_strduped) | 148 * @param value tag value to add to m (will be av_strduped) |
147 * @return >= 0 on success otherwise an error code <0 | 149 * @return >= 0 on success otherwise an error code <0 |
148 * @deprecated Use av_metadata_set2() instead. | 150 * @deprecated Use av_metadata_set2() instead. |
149 */ | 151 */ |
150 attribute_deprecated int av_metadata_set(AVMetadata **pm, const char *key, const char *value); | 152 attribute_deprecated int av_metadata_set(AVMetadata **pm, const char *key, const char *value); |
151 #endif | 153 #endif |
152 | 154 |
153 /** | 155 /** |
154 * Set the given tag in m, overwriting an existing tag. | 156 * Set the given tag in m, overwriting an existing tag. |
157 * | |
155 * @param key tag key to add to m (will be av_strduped depending on flags) | 158 * @param key tag key to add to m (will be av_strduped depending on flags) |
156 * @param value tag value to add to m (will be av_strduped depending on flags). | 159 * @param value tag value to add to m (will be av_strduped depending on flags). |
157 * Passing a NULL value will cause an existing tag to be deleted. | 160 * Passing a NULL value will cause an existing tag to be deleted. |
158 * @return >= 0 on success otherwise an error code <0 | 161 * @return >= 0 on success otherwise an error code <0 |
159 */ | 162 */ |
161 | 164 |
162 /** | 165 /** |
163 * Convert all the metadata sets from ctx according to the source and | 166 * Convert all the metadata sets from ctx according to the source and |
164 * destination conversion tables. If one of the tables is NULL, then | 167 * destination conversion tables. If one of the tables is NULL, then |
165 * tags are converted to/from ffmpeg generic tag names. | 168 * tags are converted to/from ffmpeg generic tag names. |
169 * | |
166 * @param d_conv destination tags format conversion table | 170 * @param d_conv destination tags format conversion table |
167 * @param s_conv source tags format conversion table | 171 * @param s_conv source tags format conversion table |
168 */ | 172 */ |
169 void av_metadata_conv(struct AVFormatContext *ctx,const AVMetadataConv *d_conv, | 173 void av_metadata_conv(struct AVFormatContext *ctx,const AVMetadataConv *d_conv, |
170 const AVMetadataConv *s_conv); | 174 const AVMetadataConv *s_conv); |