Changeset 075b16473cfe41bcf7135f7c93b96e5f2afd528b

Show
Ignore:
Timestamp:
11/12/06 21:55:22 (2 years ago)
Author:
Derk-Jan Hartman <hartman@videolan.org>
git-committer:
Derk-Jan Hartman <hartman@videolan.org> 1165870522 +0000
git-parent:

[18f3b1e3d9ccdaab0c3757d871fb7c5e59d58024]

git-author:
Derk-Jan Hartman <hartman@videolan.org> 1165870522 +0000
Message:

* Some more const warning fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access/cdda.c

    rd3fe7f2 r075b164  
    480480        if( p_sys->p_disc ) 
    481481        { 
    482             char *psz_result; 
     482            const char *psz_result; 
    483483            cddb_track_t *t = cddb_disc_get_track( p_sys->p_disc, i ); 
    484484            if( t!= NULL ) 
  • modules/access/cdda/access.c

    rae32c14 r075b164  
    3030#include "cdda.h"          /* private structures. Also #includes vlc things */ 
    3131#include "info.h"          /* headers for meta info retrieval */ 
     32#include "access.h" 
    3233#include <vlc_playlist.h>  /* Has to come *after* cdda.h */ 
    3334#include "vlc_keys.h" 
  • modules/access/cdda/cdda.c

    rdc8b128 r075b164  
    3939 
    4040#if LIBCDIO_VERSION_NUM >= 72 
    41 static char *psz_paranoia_list[] = { "none", "overlap", "full" }; 
    42 static char *psz_paranoia_list_text[] = { N_("none"), N_("overlap"), 
     41static const char *psz_paranoia_list[] = { "none", "overlap", "full" }; 
     42static const char *psz_paranoia_list_text[] = { N_("none"), N_("overlap"), 
    4343                                          N_("full") }; 
    4444#endif 
  • modules/access/cdda/info.c

    r0ed4ebd r075b164  
    840840 
    841841    p_child = playlist_ItemNew( p_playlist, psz_mrl, psz_title ); 
    842     input_GetItem(p_child)->i_duration = (mtime_t) i_mduration; 
     842    input_GetItem(p_child->p_input)->i_duration = (mtime_t) i_mduration; 
    843843    free(psz_mrl); 
    844844    free(psz_title); 
  • modules/access/dvdnav.c

    rd3fe7f2 r075b164  
    253253     * XXX: maybe it would be better to set it like audio/spu 
    254254     * or to create a --menu-language option */ 
    255     if( dvdnav_menu_language_select( p_sys->dvdnav,LANGUAGE_DEFAULT ) != 
     255    if( dvdnav_menu_language_select( p_sys->dvdnav, LANGUAGE_DEFAULT ) != 
    256256        DVDNAV_STATUS_OK ) 
    257257    { 
  • modules/access/dvdread.c

    r3a6b391 r075b164  
    8484    "The default method is: key.") 
    8585 
    86 static char *psz_css_list[] = { "title", "disc", "key" }; 
    87 static char *psz_css_list_text[] = { N_("title"), N_("Disc"), N_("Key") }; 
     86static const char *psz_css_list[] = { "title", "disc", "key" }; 
     87static const char *psz_css_list_text[] = { N_("title"), N_("Disc"), N_("Key") }; 
    8888 
    8989static int  Open ( vlc_object_t * );