mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02: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 }
|
{ 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);
|
len += strlen(vendor_string);
|
||||||
if (m) {
|
if (m) {
|
||||||
AVDictionaryEntry *tag = NULL;
|
AVDictionaryEntry *tag = NULL;
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
* For no string, set to an empty string.
|
* For no string, set to an empty string.
|
||||||
* @return The length in bytes.
|
* @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
|
* Write a VorbisComment into a buffer. The buffer, p, must have enough
|
||||||
|
Loading…
x
Reference in New Issue
Block a user