~videolan/vlc/old-trunk

« back to all changes in this revision

Viewing changes to modules/demux/playlist/m3u.c

  • Committer: zorglub
  • Date: 2006-09-24 12:40:10 UTC
  • Revision ID: vcs-imports@canonical.com-20060924124010-9313cccc4d61dbc9
Rename vlc_input_item_* functions to input_Item* for consistency
Add input_ItemAddOptionNoDup (unused at the moment)
+ free warning fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * m3u.c : M3U playlist format import
3
3
 *****************************************************************************
4
4
 * Copyright (C) 2004 the VideoLAN team
5
 
 * $Id: m3u.c 16500 2006-09-03 16:43:26Z zorglub $
 
5
 * $Id: m3u.c 16821 2006-09-24 12:40:10Z zorglub $
6
6
 *
7
7
 * Authors: Clément Stenac <zorglub@videolan.org>
8
8
 *          Sigmund Augdal Helberg <dnumgis@videolan.org>
170
170
            p_input = input_ItemNewExt( p_playlist, psz_mrl, psz_name,
171
171
                                        i_options, ppsz_options, i_duration );
172
172
            if ( psz_artist && *psz_artist )
173
 
                vlc_input_item_AddInfo( p_input, _(VLC_META_INFO_CAT),
 
173
                input_ItemAddInfo( p_input, _(VLC_META_INFO_CAT),
174
174
                                        _(VLC_META_ARTIST), "%s", psz_artist );
175
175
            playlist_AddWhereverNeeded( p_playlist, p_input, p_current,
176
176
                 p_item_in_category, (i_parent_id > 0 )? VLC_TRUE : VLC_FALSE,