Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
53a76832
Commit
53a76832
authored
Dec 12, 2006
by
Jean-Paul Saman
Browse files
Fix compilation warnings
parent
7acc0ba6
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/meta_engine/id3tag.c
View file @
53a76832
...
...
@@ -24,6 +24,8 @@
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <config.h>
#include <stdlib.h>
/* malloc(), free() */
#include <string.h>
...
...
@@ -84,7 +86,10 @@ static void ParseID3Tag( demux_t *p_demux, uint8_t *p_data, int i_size )
id3_byte_t
const
*
p_ufid
;
id3_length_t
i_ufidlen
;
p_ufid
=
id3_field_getbinarydata
(
&
p_frame
->
fields
[
1
],
&
i_ufidlen
);
p_ufid
=
(
id3_byte_t
const
*
)
id3_field_getbinarydata
(
&
p_frame
->
fields
[
1
],
&
i_ufidlen
);
char
*
psz_ufid
=
strndup
(
p_ufid
,
i_ufidlen
);
vlc_meta_SetTrackID
(
p_meta
,
psz_ufid
);
...
...
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