Commit 53a76832 authored by Jean-Paul Saman's avatar Jean-Paul Saman
Browse files

Fix compilation warnings

parent 7acc0ba6
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
/***************************************************************************** /*****************************************************************************
* Preamble * Preamble
*****************************************************************************/ *****************************************************************************/
#include <config.h>
#include <stdlib.h> /* malloc(), free() */ #include <stdlib.h> /* malloc(), free() */
#include <string.h> #include <string.h>
...@@ -84,7 +86,10 @@ static void ParseID3Tag( demux_t *p_demux, uint8_t *p_data, int i_size ) ...@@ -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_byte_t const * p_ufid;
id3_length_t i_ufidlen; 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 ); char *psz_ufid = strndup( p_ufid, i_ufidlen );
vlc_meta_SetTrackID( p_meta, psz_ufid ); vlc_meta_SetTrackID( p_meta, psz_ufid );
......
Supports Markdown
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