Changeset 586988c0210c28393c842bd2851acf824c07fed3

Show
Ignore:
Timestamp:
25/05/07 21:14:34 (1 year ago)
Author:
Laurent Aimar <fenrir@videolan.org>
git-committer:
Laurent Aimar <fenrir@videolan.org> 1180120474 +0000
git-parent:

[6d3ce5936ac1416669df68a547be91d3db6c33ad]

git-author:
Laurent Aimar <fenrir@videolan.org> 1180120474 +0000
Message:

Compilation warning fixes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/mux/avi.c

    rd3fe7f2 r586988c  
    547547#endif 
    548548 
    549 static void bo_AddFCC( buffer_out_t *p_bo, char *fcc ) 
     549static void bo_AddFCC( buffer_out_t *p_bo, const char *fcc ) 
    550550{ 
    551551    bo_AddByte( p_bo, fcc[0] ); 
  • modules/mux/mp4.c

    r06e1acc r586988c  
    153153static void bo_add_32be ( bo_t *, uint32_t ); 
    154154static void bo_add_64be ( bo_t *, uint64_t ); 
    155 static void bo_add_fourcc(bo_t *, char * ); 
     155static void bo_add_fourcc(bo_t *, const char * ); 
    156156static void bo_add_bo   ( bo_t *, bo_t * ); 
    157157static void bo_add_mem  ( bo_t *, int , uint8_t * ); 
     
    160160static void bo_fix_32be ( bo_t *, int , uint32_t ); 
    161161 
    162 static bo_t *box_new     ( char *fcc ); 
    163 static bo_t *box_full_new( char *fcc, uint8_t v, uint32_t f ); 
     162static bo_t *box_new     ( const char *fcc ); 
     163static bo_t *box_full_new( const char *fcc, uint8_t v, uint32_t f ); 
    164164static void  box_fix     ( bo_t *box ); 
    165165static void  box_free    ( bo_t *box ); 
     
    15291529} 
    15301530 
    1531 static int64_t get_timestamp(); 
     1531static int64_t get_timestamp(void); 
    15321532 
    15331533static uint32_t mvhd_matrix[9] = 
     
    20042004} 
    20052005 
    2006 static void bo_add_fourcc( bo_t *p_bo, char *fcc ) 
     2006static void bo_add_fourcc( bo_t *p_bo, const char *fcc ) 
    20072007{ 
    20082008    bo_add_8( p_bo, fcc[0] ); 
     
    20722072} 
    20732073 
    2074 static bo_t * box_new( char *fcc ) 
     2074static bo_t * box_new( const char *fcc ) 
    20752075{ 
    20762076    bo_t *box; 
     
    20872087} 
    20882088 
    2089 static bo_t * box_full_new( char *fcc, uint8_t v, uint32_t f ) 
     2089static bo_t * box_full_new( const char *fcc, uint8_t v, uint32_t f ) 
    20902090{ 
    20912091    bo_t *box; 
     
    21532153} 
    21542154 
    2155 static int64_t get_timestamp(
     2155static int64_t get_timestamp(void
    21562156{ 
    21572157    int64_t i_timestamp = 0;