[vlc-devel] commit: id3tag: code cosmetic and warning killing (Jean-Baptiste Kempf )
git version control
git at videolan.org
Sun Aug 23 12:12:20 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 23 12:11:06 2009 +0200| [6995302f875979dd650f287ac86b66aaf0a37dd5] | committer: Jean-Baptiste Kempf
id3tag: code cosmetic and warning killing
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6995302f875979dd650f287ac86b66aaf0a37dd5
---
modules/meta_engine/id3tag.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/modules/meta_engine/id3tag.c b/modules/meta_engine/id3tag.c
index 4079d52..5de5ca4 100644
--- a/modules/meta_engine/id3tag.c
+++ b/modules/meta_engine/id3tag.c
@@ -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_length_t i_ufidlen;
- p_ufid = (id3_byte_t const *)
- id3_field_getbinarydata(
- &p_frame->fields[1],
- &i_ufidlen );
+ p_ufid = id3_field_getbinarydata( &p_frame->fields[1], &i_ufidlen );
char *psz_ufid = strndup( p_ufid, i_ufidlen );
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 )
/* T--- Text informations */
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 */
if( ID_IS( "TXXX" ) )
More information about the vlc-devel
mailing list