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
6995302f
Commit
6995302f
authored
Aug 23, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
id3tag: code cosmetic and warning killing
parent
0786f39a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
modules/meta_engine/id3tag.c
modules/meta_engine/id3tag.c
+2
-5
No files found.
modules/meta_engine/id3tag.c
View file @
6995302f
...
@@ -92,10 +92,7 @@ static void ParseID3Tag( demux_t *p_demux, const uint8_t *p_data, int i_size )
...
@@ -92,10 +92,7 @@ static void ParseID3Tag( demux_t *p_demux, const uint8_t *p_data, int i_size )
id3_byte_t
const
*
p_ufid
;
id3_byte_t
const
*
p_ufid
;
id3_length_t
i_ufidlen
;
id3_length_t
i_ufidlen
;
p_ufid
=
(
id3_byte_t
const
*
)
p_ufid
=
id3_field_getbinarydata
(
&
p_frame
->
fields
[
1
],
&
i_ufidlen
);
id3_field_getbinarydata
(
&
p_frame
->
fields
[
1
],
&
i_ufidlen
);
char
*
psz_ufid
=
strndup
(
p_ufid
,
i_ufidlen
);
char
*
psz_ufid
=
strndup
(
p_ufid
,
i_ufidlen
);
vlc_meta_SetTrackID
(
p_meta
,
psz_ufid
);
vlc_meta_SetTrackID
(
p_meta
,
psz_ufid
);
...
@@ -162,7 +159,7 @@ static void ParseID3Tag( demux_t *p_demux, const uint8_t *p_data, int i_size )
...
@@ -162,7 +159,7 @@ static void ParseID3Tag( demux_t *p_demux, const uint8_t *p_data, int i_size )
/* T--- Text informations */
/* T--- Text informations */
for
(
i
=
0
;
(
p_frame
=
id3_tag_findframe
(
p_id3_tag
,
"T"
,
i
))
!=
NULL
;
i
++
)
for
(
i
=
0
;
(
p_frame
=
id3_tag_findframe
(
p_id3_tag
,
"T"
,
i
))
!=
NULL
;
i
++
)
{
{
int
i_strings
;
unsigned
i_strings
;
/* Special case TXXX is not the same beast */
/* Special case TXXX is not the same beast */
if
(
ID_IS
(
"TXXX"
)
)
if
(
ID_IS
(
"TXXX"
)
)
...
...
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