Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
ab6dc863
Commit
ab6dc863
authored
May 11, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/vorbiscomment: Use 64bit int for ff_vorbiscomment_length()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
66f26b3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
vorbiscomment.c
libavformat/vorbiscomment.c
+2
-2
vorbiscomment.h
libavformat/vorbiscomment.h
+1
-1
No files found.
libavformat/vorbiscomment.c
View file @
ab6dc863
...
...
@@ -38,9 +38,9 @@ const AVMetadataConv ff_vorbiscomment_metadata_conv[] = {
{
0
}
};
int
ff_vorbiscomment_length
(
AVDictionary
*
m
,
const
char
*
vendor_string
)
int
64_t
ff_vorbiscomment_length
(
AVDictionary
*
m
,
const
char
*
vendor_string
)
{
int
len
=
8
;
int
64_t
len
=
8
;
len
+=
strlen
(
vendor_string
);
if
(
m
)
{
AVDictionaryEntry
*
tag
=
NULL
;
...
...
libavformat/vorbiscomment.h
View file @
ab6dc863
...
...
@@ -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
);
int
64_t
ff_vorbiscomment_length
(
AVDictionary
*
m
,
const
char
*
vendor_string
);
/**
* Write a VorbisComment into a buffer. The buffer, p, must have enough
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment