~videolan/vlc/old-trunk

« back to all changes in this revision

Viewing changes to modules/demux/playlist/qtl.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
 * qtl.c: QuickTime Media Link Importer
3
3
 *****************************************************************************
4
4
 * Copyright (C) 2006 the VideoLAN team
5
 
 * $Id: qtl.c 16203 2006-08-03 15:34:08Z zorglub $
 
5
 * $Id: qtl.c 16821 2006-09-24 12:40:10Z zorglub $
6
6
 *
7
7
 * Authors: Antoine Cellerier <dionoea -@t- videolan -Dot- org>
8
8
 *
357
357
    {
358
358
        p_input = input_ItemNewExt( p_sys->p_playlist,
359
359
                                psz_src, psz_moviename, 0, NULL, -1 );
360
 
#define SADD_INFO( type, field ) if( field ) { vlc_input_item_AddInfo( \
 
360
#define SADD_INFO( type, field ) if( field ) { input_ItemAddInfo( \
361
361
                    p_input, "QuickTime Media Link", _(type), "%s", field ) ; }
362
362
        SADD_INFO( "href", psz_href );
363
363
        SADD_INFO( "mime type", psz_mimetype );