[vlc-devel] [PATCH] xspf fix; remove of compile errors;

Daniel Stränger vlc at schmaller.de
Thu Aug 17 19:10:41 CEST 2006


Hi VLC-Team,
i've recognized, that XSPF parsing is not working anymore since someone
deleted the "true/false - success/error" mapping in the demuxer function.
Additionally every playlist without an <identifier> sub-element of <track>
will cause a segfault, because i_identifier is still -1 at
    if( p_demux->p_sys->i_identifier < p_demux->p_sys->i_tracklist_entries )
    {
       p_demux->p_sys->pp_tracklist[ p_demux->p_sys->i_identifier ] = p_new_input;
    }
.
Therfore I disabled the pp_tracklist handling.

Furthermore I've detected some incomplete #ifdef's.

Kind regards,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mtime.patch
Type: text/x-patch
Size: 1108 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060817/6861103a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rootwrap.patch
Type: text/x-patch
Size: 512 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060817/6861103a/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xspf_fix.patch
Type: text/x-patch
Size: 8155 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060817/6861103a/attachment-0002.bin>


More information about the vlc-devel mailing list