Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
3ab1807f
Commit
3ab1807f
authored
Jan 29, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
id3tag: use size_t to represent sizes
parent
52e95c97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/meta_engine/id3tag.c
modules/meta_engine/id3tag.c
+4
-4
No files found.
modules/meta_engine/id3tag.c
View file @
3ab1807f
...
...
@@ -245,10 +245,10 @@ static void ParseID3Tag( demux_t *p_demux, const uint8_t *p_data, int i_size )
* APEv1/2
*****************************************************************************/
#define APE_TAG_HEADERSIZE (32)
static
in
t
GetAPEvXSize
(
const
uint8_t
*
p_data
,
int
i_data
)
static
size_
t
GetAPEvXSize
(
const
uint8_t
*
p_data
,
int
i_data
)
{
uint32_t
flags
;
in
t
i_body
;
size_
t
i_body
;
if
(
i_data
<
APE_TAG_HEADERSIZE
||
(
GetDWLE
(
&
p_data
[
8
]
)
!=
1000
&&
GetDWLE
(
&
p_data
[
8
]
)
!=
2000
)
||
/* v1/v2 only */
...
...
@@ -375,14 +375,14 @@ static void ParseAPEvXTag( demux_t *p_demux, const uint8_t *p_data, int i_data )
static
void
CheckFooter
(
demux_t
*
p_demux
)
{
const
int64_t
i_pos
=
stream_Size
(
p_demux
->
s
);
const
in
t
i_peek
=
128
+
APE_TAG_HEADERSIZE
;
const
size_
t
i_peek
=
128
+
APE_TAG_HEADERSIZE
;
const
uint8_t
*
p_peek
;
const
uint8_t
*
p_peek_id3
;
int64_t
i_id3v2_pos
=
-
1
;
int64_t
i_apevx_pos
=
-
1
;
int
i_id3v2_size
;
int
i_apevx_size
;
in
t
i_id3v1_size
;
size_
t
i_id3v1_size
;
if
(
i_pos
<
i_peek
)
return
;
...
...
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