Commit ab6dc863 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/vorbiscomment: Use 64bit int for ff_vorbiscomment_length()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 66f26b3e
......@@ -38,9 +38,9 @@ const AVMetadataConv ff_vorbiscomment_metadata_conv[] = {
{ 0 }
};
int ff_vorbiscomment_length(AVDictionary *m, const char *vendor_string)
int64_t ff_vorbiscomment_length(AVDictionary *m, const char *vendor_string)
{
int len = 8;
int64_t len = 8;
len += strlen(vendor_string);
if (m) {
AVDictionaryEntry *tag = NULL;
......
......@@ -34,7 +34,7 @@
* For no string, set to an empty string.
* @return The length in bytes.
*/
int ff_vorbiscomment_length(AVDictionary *m, const char *vendor_string);
int64_t ff_vorbiscomment_length(AVDictionary *m, const char *vendor_string);
/**
* Write a VorbisComment into a buffer. The buffer, p, must have enough
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment