diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-11 16:39:35 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-11 16:56:16 +0300 |
commit | ab6dc863436361311eb2a2d3de692c7de4837d59 (patch) | |
tree | 0ab1d312b49dcdadce60d67b52ac872652b5cfed /libavformat/vorbiscomment.c | |
parent | 66f26b3e8ec075298e7ba329a55893d085bafe96 (diff) |
avformat/vorbiscomment: Use 64bit int for ff_vorbiscomment_length()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/vorbiscomment.c')
-rw-r--r-- | libavformat/vorbiscomment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/vorbiscomment.c b/libavformat/vorbiscomment.c index e953d83d65..575dd13328 100644 --- a/libavformat/vorbiscomment.c +++ b/libavformat/vorbiscomment.c @@ -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; |