summaryrefslogtreecommitdiff
path: root/libavformat/vorbiscomment.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-05-26 13:30:10 +0200
committerAnton Khirnov <anton@khirnov.net>2014-05-28 07:54:54 +0200
commitefcde917af407a6031ecff68edd51fce7b83d104 (patch)
treed861db7bb7f8d7c3f8cbc28bebdf21e9b268bf75 /libavformat/vorbiscomment.h
parent23f741f79327e31be7b2a75ebb2e02111e06e52f (diff)
downloadffmpeg-efcde917af407a6031ecff68edd51fce7b83d104.tar.gz
vorbiscomment: simplify API by using av_dict_count()
Diffstat (limited to 'libavformat/vorbiscomment.h')
-rw-r--r--libavformat/vorbiscomment.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/libavformat/vorbiscomment.h b/libavformat/vorbiscomment.h
index 95e1a5676f..d9ec099b3f 100644
--- a/libavformat/vorbiscomment.h
+++ b/libavformat/vorbiscomment.h
@@ -32,11 +32,9 @@
* @param m The metadata structure to be parsed. For no metadata, set to NULL.
* @param vendor_string The vendor string to be added into the VorbisComment.
* For no string, set to an empty string.
- * @param count Pointer to store the number of tags in m because m->count is "not allowed"
* @return The length in bytes.
*/
-int ff_vorbiscomment_length(AVDictionary *m, const char *vendor_string,
- unsigned *count);
+int ff_vorbiscomment_length(AVDictionary *m, const char *vendor_string);
/**
* Write a VorbisComment into a buffer. The buffer, p, must have enough
@@ -47,10 +45,9 @@ int ff_vorbiscomment_length(AVDictionary *m, const char *vendor_string,
* @param p The buffer in which to write.
* @param m The metadata struct to write.
* @param vendor_string The vendor string to write.
- * @param count The number of tags in m because m->count is "not allowed"
*/
int ff_vorbiscomment_write(uint8_t **p, AVDictionary **m,
- const char *vendor_string, const unsigned count);
+ const char *vendor_string);
extern const AVMetadataConv ff_vorbiscomment_metadata_conv[];