Changeset 738926876bda127f929463e9679317edba1dbfd8

Show
Ignore:
Timestamp:
07/11/05 10:52:14 (3 years ago)
Author:
Sam Hocevar <sam@videolan.org>
git-committer:
Sam Hocevar <sam@videolan.org> 1121071934 +0000
git-parent:

[9ed8a0c1aa6182cb5f8be88d4a5a595a6f0ba711]

git-author:
Sam Hocevar <sam@videolan.org> 1121071934 +0000
Message:
  • Fixed a bunch of coding errors here and there.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • include/vlc/control.h

    rfe087a3 r7389268  
    124124mediacontrol_RGBPicture* mediacontrol_RGBPicture__alloc (int datasize); 
    125125void mediacontrol_RGBPicture__free (mediacontrol_RGBPicture* pic); 
     126mediacontrol_RGBPicture* _mediacontrol_createRGBPicture (int, int, long, long long l_date, char*, int); 
    126127mediacontrol_PlaylistSeq* mediacontrol_PlaylistSeq__alloc (int size); 
    127128void mediacontrol_PlaylistSeq__free (mediacontrol_PlaylistSeq* ps); 
  • modules/demux/a52.c

    r5585f98 r7389268  
    8282    byte_t      *p_peek; 
    8383    int         i_peek = 0; 
    84     vlc_bool_t  b_big_endian; 
     84    vlc_bool_t  b_big_endian = 0; /* Arbitrary initialisation */ 
    8585 
    8686    /* Check if we are dealing with a WAV file */ 
  • modules/demux/ps.h

    rfe087a3 r7389268  
    2828typedef struct ps_psm_t ps_psm_t; 
    2929static inline int ps_id_to_type( ps_psm_t *, int ); 
    30 static inline char *ps_id_to_lang( ps_psm_t *, int ); 
     30static inline uint8_t *ps_id_to_lang( ps_psm_t *, int ); 
    3131 
    3232typedef struct 
     
    391391} 
    392392 
    393 static inline char *ps_id_to_lang( ps_psm_t *p_psm, int i_id ) 
     393static inline uint8_t *ps_id_to_lang( ps_psm_t *p_psm, int i_id ) 
    394394{ 
    395395    int i; 
  • modules/gui/skins2/utils/position.hpp

    rfe087a3 r7389268  
    3131{ 
    3232    public: 
     33        virtual ~Box() {} 
     34 
    3335        /// Get the size of the box 
    3436        virtual int getWidth() const = 0; 
  • modules/gui/wxwindows/wizard.cpp

    rfe087a3 r7389268  
    14701470} 
    14711471 
    1472 void WizardDialog::SetTranscode( char *vcodec, int vb, char *acodec,int ab) 
     1472void WizardDialog::SetTranscode( char const *vcodec, int vb, 
     1473                                 char const *acodec, int ab) 
    14731474{ 
    14741475    if( strcmp( vcodec, "dummy") ) 
     
    14841485} 
    14851486 
    1486 void WizardDialog::SetStream( char *method, char *address ) 
     1487void WizardDialog::SetStream( char const *method, char const *address ) 
    14871488{ 
    14881489    this->method = strdup( method ); 
     
    14901491} 
    14911492 
    1492 void WizardDialog::SetTranscodeOut( const char *address ) 
     1493void WizardDialog::SetTranscodeOut( char const *address ) 
    14931494{ 
    14941495    this->address = strdup( address ); 
    14951496} 
    14961497 
    1497 void WizardDialog::SetMux( char *mux ) 
     1498void WizardDialog::SetMux( char const *mux ) 
    14981499{ 
    14991500    this->mux = strdup( mux ); 
  • modules/gui/wxwindows/wxwindows.h

    rfe087a3 r7389268  
    764764public: 
    765765    /* Constructor */ 
    766     WizardDialog( intf_thread_t *p_intf, wxWindow *p_parent,char *, int, int ); 
     766    WizardDialog( intf_thread_t *, wxWindow *p_parent, char *, int, int ); 
    767767    virtual ~WizardDialog(); 
    768     void SetTranscode( char *vcodec, int vb, char *acodec,int ab); 
     768    void SetTranscode( char const *vcodec, int vb, char const *acodec, int ab); 
    769769    void SetMrl( const char *mrl ); 
    770770    void SetTTL( int i_ttl ); 
    771771    void SetPartial( int, int ); 
    772     void SetStream( char *method, char *address ); 
    773     void SetTranscodeOut( const char *address ); 
     772    void SetStream( char const *method, char const *address ); 
     773    void SetTranscodeOut( char const *address ); 
    774774    void SetAction( int i_action ); 
    775775    int  GetAction(); 
    776776    void SetSAP( bool b_enabled, const char *psz_name ); 
    777     void SetMux( char *mux ); 
     777    void SetMux( char const *mux ); 
    778778    void Run(); 
    779779    int i_action; 
  • modules/packetizer/mpegvideo.c

    rfe087a3 r7389268  
    527527        if( i_type == 0x01 ) 
    528528        { 
     529#if 0 
    529530            static const int mpeg2_aspect[16][2] = 
    530531            { 
     
    533534                {0,1}, {0,1} 
    534535            }; 
     536#endif 
    535537 
    536538            /* sequence extention */ 
  • modules/video_filter/deinterlace.c

    rfe087a3 r7389268  
    191191 
    192192    p_vout->p_sys->i_mode = DEINTERLACE_DISCARD; 
    193     p_vout->p_sys->b_double_rate = 0
     193    p_vout->p_sys->b_double_rate = VLC_FALSE
    194194    p_vout->p_sys->last_date = 0; 
    195195    p_vout->p_sys->p_vout = 0; 
     
    254254    { 
    255255        p_vout->p_sys->i_mode = DEINTERLACE_DISCARD; 
    256         p_vout->p_sys->b_double_rate = 0
     256        p_vout->p_sys->b_double_rate = VLC_FALSE
    257257    } 
    258258    else if( !strcmp( psz_method, "mean" ) ) 
    259259    { 
    260260        p_vout->p_sys->i_mode = DEINTERLACE_MEAN; 
    261         p_vout->p_sys->b_double_rate = 0
     261        p_vout->p_sys->b_double_rate = VLC_FALSE
    262262    } 
    263263    else if( !strcmp( psz_method, "blend" ) 
     
    266266    { 
    267267        p_vout->p_sys->i_mode = DEINTERLACE_BLEND; 
    268         p_vout->p_sys->b_double_rate = 0
     268        p_vout->p_sys->b_double_rate = VLC_FALSE
    269269    } 
    270270    else if( !strcmp( psz_method, "bob" ) 
     
    272272    { 
    273273        p_vout->p_sys->i_mode = DEINTERLACE_BOB; 
    274         p_vout->p_sys->b_double_rate = 1
     274        p_vout->p_sys->b_double_rate = VLC_TRUE
    275275    } 
    276276    else if( !strcmp( psz_method, "linear" ) ) 
    277277    { 
    278278        p_vout->p_sys->i_mode = DEINTERLACE_LINEAR; 
    279         p_vout->p_sys->b_double_rate = 1
     279        p_vout->p_sys->b_double_rate = VLC_TRUE
    280280    } 
    281281    else if( !strcmp( psz_method, "x" ) ) 
    282282    { 
    283283        p_vout->p_sys->i_mode = DEINTERLACE_X; 
    284         p_vout->p_sys->b_double_rate = 0
     284        p_vout->p_sys->b_double_rate = VLC_FALSE
    285285    } 
    286286    else 
     
    443443    picture_t *pp_outpic[2]; 
    444444 
     445    pp_outpic[0] = pp_outpic[1] = NULL; 
     446 
    445447    vlc_mutex_lock( &p_vout->p_sys->filter_lock ); 
    446448 
    447449    /* Get a new picture */ 
    448450    while( ( pp_outpic[0] = vout_CreatePicture( p_vout->p_sys->p_vout, 
    449                                              0, 0, 0 ) ) 
     451                                                0, 0, 0 ) ) 
    450452              == NULL ) 
    451453    { 
     
    456458        } 
    457459        msleep( VOUT_OUTMEM_SLEEP ); 
    458    
     460   
    459461 
    460462    vout_DatePicture( p_vout->p_sys->p_vout, pp_outpic[0], p_pic->date ); 
     
    18731875                     picture_t *p_outpic, picture_t *p_pic ) 
    18741876{ 
    1875     vout_sys_t *p_sys = p_vout->p_sys; 
    18761877    int i_plane; 
    18771878 
  • modules/video_filter/scale.c

    rfe087a3 r7389268  
    106106static picture_t *Filter( filter_t *p_filter, picture_t *p_pic ) 
    107107{ 
    108     filter_sys_t *p_sys = p_filter->p_sys; 
    109108    picture_t *p_pic_dst; 
    110109    int i_plane, i, j, k, l; 
  • po/Makefile.in.in

    re6db2c3 r7389268  
    3333MSGFMT = @MSGFMT@ 
    3434XGETTEXT = @XGETTEXT@ 
    35 MSGMERGE = @MSGMERGE@ 
     35MSGMERGE = msgmerge 
    3636MSGMERGE_UPDATE = @MSGMERGE@ --update 
    37 MSGINIT = @MSGINIT@ 
    38 MSGCONV = @MSGCONV@ 
    39 MSGFILTER = @MSGFILTER@ 
     37MSGINIT = msginit 
     38MSGCONV = msgconv 
     39MSGFILTER = msgfilter 
    4040 
    4141POFILES = @POFILES@ 
  • src/playlist/item.c

    rfe087a3 r7389268  
    396396    }; 
    397397 
     398#if 0 /* Unused */ 
    398399    static struct { char *psz_search; int i_type; } exts_array[] = 
    399400    { 
     
    401402        { NULL, 0 } 
    402403    }; 
     404#endif 
    403405 
    404406    for( i = 0; types_array[i].psz_search != NULL; i++ ) 
  • src/video_output/video_output.c

    r8329bd8 r7389268  
    731731    picture_t *     p_directbuffer;              /* direct buffer to display */ 
    732732 
    733     subpicture_t *  p_subpic;                          /* subpicture pointer */ 
     733    subpicture_t *  p_subpic = NULL;                   /* subpicture pointer */ 
    734734 
    735735    /*