Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
884e2a4e
Commit
884e2a4e
authored
Oct 10, 2007
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bunch of const warnings.
parent
e1066b6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
modules/meta_engine/id3tag.c
modules/meta_engine/id3tag.c
+6
-6
No files found.
modules/meta_engine/id3tag.c
View file @
884e2a4e
...
...
@@ -57,7 +57,7 @@ vlc_module_end();
/*****************************************************************************
* ParseID3Tag : parse an id3tag into the info structures
*****************************************************************************/
static
void
ParseID3Tag
(
demux_t
*
p_demux
,
uint8_t
*
p_data
,
int
i_size
)
static
void
ParseID3Tag
(
demux_t
*
p_demux
,
const
uint8_t
*
p_data
,
int
i_size
)
{
struct
id3_tag
*
p_id3_tag
;
struct
id3_frame
*
p_frame
;
...
...
@@ -262,13 +262,13 @@ static int GetAPEvXSize( const uint8_t *p_data, int i_data )
/* it is the footer */
return
i_body
+
(
(
flags
&
(
1
<<
31
))
?
APE_TAG_HEADERSIZE
:
0
);
}
static
void
ParseAPEvXTag
(
demux_t
*
p_demux
,
uint8_t
*
p_data
,
int
i_data
)
static
void
ParseAPEvXTag
(
demux_t
*
p_demux
,
const
uint8_t
*
p_data
,
int
i_data
)
{
demux_meta_t
*
p_demux_meta
=
(
demux_meta_t
*
)
p_demux
->
p_private
;
vlc_meta_t
*
p_meta
;
vlc_bool_t
b_start
;
vlc_bool_t
b_end
;
uint8_t
*
p_header
=
NULL
;
const
uint8_t
*
p_header
=
NULL
;
int
i_entry
;
if
(
i_data
<
APE_TAG_HEADERSIZE
)
...
...
@@ -372,8 +372,8 @@ static void CheckFooter( demux_t *p_demux )
{
const
int64_t
i_pos
=
stream_Size
(
p_demux
->
s
);
const
int
i_peek
=
128
+
APE_TAG_HEADERSIZE
;
uint8_t
*
p_peek
;
uint8_t
*
p_peek_id3
;
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
;
...
...
@@ -447,7 +447,7 @@ static void CheckFooter( demux_t *p_demux )
}
static
void
CheckHeader
(
demux_t
*
p_demux
)
{
uint8_t
*
p_peek
;
const
uint8_t
*
p_peek
;
int
i_size
;
if
(
stream_Seek
(
p_demux
->
s
,
0
)
)
...
...
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