id3tag: properly casts p_demux->p_private
authorRafaël Carré <funman@videolan.org>
Thu, 4 Oct 2007 13:30:27 +0000 (13:30 +0000)
committerRafaël Carré <funman@videolan.org>
Thu, 4 Oct 2007 13:30:27 +0000 (13:30 +0000)
modules/meta_engine/id3tag.c

index c2a1c30..0b67539 100644 (file)
@@ -61,7 +61,7 @@ static void ParseID3Tag( demux_t *p_demux, uint8_t *p_data, int i_size )
 {
     struct id3_tag   *p_id3_tag;
     struct id3_frame *p_frame;
 {
     struct id3_tag   *p_id3_tag;
     struct id3_frame *p_frame;
-    demux_meta_t     *p_demux_meta = p_demux->p_private;
+    demux_meta_t     *p_demux_meta = (demux_meta_t*)p_demux->p_private;
     vlc_meta_t       *p_meta;
     int i;
 
     vlc_meta_t       *p_meta;
     int i;