mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-29 18:53:02 +00:00
avformat/vorbiscomment: Use 64bit int for ff_vorbiscomment_length()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
66f26b3e8e
commit
ab6dc86343
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user