Changeset d2dff4466b7e125a3734a3e83f3f0e476dc623e8

Show
Ignore:
Timestamp:
12/14/06 21:56:18 (2 years ago)
Author:
Derk-Jan Hartman <hartman@videolan.org>
git-committer:
Derk-Jan Hartman <hartman@videolan.org> 1166129778 +0000
git-parent:

[fe12c564e835d961d197216fc2e0c08cc8636353]

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

* More compiler warning fixes (const mostly)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access_filter/record.c

    rd3fe7f2 rd2dff44  
    321321    { 
    322322        if( b_dump ) 
    323             vout_OSDMessage( p_vout, p_sys->i_vout_chan, "Recording" ); 
     323            vout_OSDMessage( p_vout, p_sys->i_vout_chan, _("Recording") ); 
    324324        else 
    325             vout_OSDMessage( p_vout, p_sys->i_vout_chan, "Recording done" ); 
     325            vout_OSDMessage( p_vout, p_sys->i_vout_chan, _("Recording done") ); 
    326326    } 
    327327    vlc_object_release( p_vout ); 
  • modules/audio_filter/channel_mixer/mono.c

    rd3fe7f2 rd2dff44  
    9595    "2=rear left, 3=rear right, 4=center, 5=left front)") 
    9696 
    97 static int pi_pos_values[] = { 0, 1, 2, 4, 8, 5 }; 
    98 static char *ppsz_pos_descriptions[] = 
     97static const int pi_pos_values[] = { 0, 1, 2, 4, 8, 5 }; 
     98static const char *ppsz_pos_descriptions[] = 
    9999{ N_("Left"), N_("Right"), N_("Left rear"), N_("Right rear"), N_("Center"), 
    100100  N_("Left front") }; 
  • modules/audio_filter/equalizer_presets.h

    rd0df040 rd2dff44  
    3232 
    3333#define NB_PRESETS 18 
    34 static char *preset_list[] = { 
     34static const char *preset_list[] = { 
    3535    "flat", "classical", "club", "dance", "fullbass", "fullbasstreble", 
    3636    "fulltreble", "headphones","largehall", "live", "party", "pop", "reggae", 
    3737    "rock", "ska", "soft", "softrock", "techno" 
    3838}; 
    39 static char *preset_list_text[] = { 
     39static const char *preset_list_text[] = { 
    4040    N_("Flat"), N_("Classical"), N_("Club"), N_("Dance"), N_("Full bass"), 
    4141    N_("Full bass and treble"), N_("Full treble"), N_("Headphones"), 
     
    4646typedef struct 
    4747{ 
    48     char *psz_name; 
     48    const char *psz_name; 
    4949    int  i_band; 
    5050    float f_preamp; 
  • modules/codec/cmml/browser_open.c

    rb76d7cf rd2dff44  
    2929 
    3030#include "xstrcat.h" 
     31#include "browser_open.h" 
    3132 
    3233int browser_Open( const char *psz_url ) 
  • modules/codec/cmml/history.c

    rd7ee68a rd2dff44  
    5050 *****************************************************************************/ 
    5151 
    52 history_t *history_New(
     52history_t *history_New( void
    5353{ 
    5454   history_t *p_new_history; 
  • modules/codec/cmml/history.h

    r2cb472d rd2dff44  
    5050 * Exported prototypes 
    5151 *****************************************************************************/ 
    52 history_t       * history_New                        (); 
     52history_t       * history_New                        ( void ); 
    5353vlc_bool_t        history_GoBackSavingCurrentItem    ( history_t *, 
    5454                                                       history_item_t * ); 
  • modules/codec/sdl_image.c

    rd3fe7f2 rd2dff44  
    6262{ 
    6363    vlc_fourcc_t i_fourcc; 
    64     char *psz_sdl_type; 
     64    const char *psz_sdl_type; 
    6565} p_supported_fmt[] = 
    6666{ 
  • modules/codec/x264.c

    rd3fe7f2 rd2dff44  
    310310 
    311311#if X264_BUILD >= 24 
    312 static char *enc_me_list[] = 
     312static const char *enc_me_list[] = 
    313313  { "dia", "hex", "umh", "esa" }; 
    314 static char *enc_me_list_text[] = 
     314static const char *enc_me_list_text[] = 
    315315  { N_("dia"), N_("hex"), N_("umh"), N_("esa") }; 
    316316#endif 
    317317 
    318 static char *enc_analyse_list[] = 
     318static const char *enc_analyse_list[] = 
    319319  { "none", "fast", "normal", "slow", "all" }; 
    320 static char *enc_analyse_list_text[] = 
     320static const char *enc_analyse_list_text[] = 
    321321  { N_("none"), N_("fast"), N_("normal"), N_("slow"), N_("all") }; 
    322322 
    323323#if X264_BUILD >= 45 /* r457 */ 
    324 static char *direct_pred_list[] = 
     324static const char *direct_pred_list[] = 
    325325  { "none", "spatial", "temporal", "auto" }; 
    326 static char *direct_pred_list_text[] = 
     326static const char *direct_pred_list_text[] = 
    327327  { N_("none"), N_("spatial"), N_("temporal"), N_("auto") }; 
    328328#else 
    329 static char *direct_pred_list[] = 
     329static const char *direct_pred_list[] = 
    330330  { "none", "spatial", "temporal" }; 
    331 static char *direct_pred_list_text[] = 
     331static const char *direct_pred_list_text[] = 
    332332  { N_("none"), N_("spatial"), N_("temporal") }; 
    333333#endif