Commit 6995302f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

id3tag: code cosmetic and warning killing

parent 0786f39a
...@@ -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" ) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment