Changeset 586988c0210c28393c842bd2851acf824c07fed3
- 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
| rd3fe7f2 |
r586988c |
|
| 547 | 547 | #endif |
|---|
| 548 | 548 | |
|---|
| 549 | | static void bo_AddFCC( buffer_out_t *p_bo, char *fcc ) |
|---|
| | 549 | static void bo_AddFCC( buffer_out_t *p_bo, const char *fcc ) |
|---|
| 550 | 550 | { |
|---|
| 551 | 551 | bo_AddByte( p_bo, fcc[0] ); |
|---|
| r06e1acc |
r586988c |
|
| 153 | 153 | static void bo_add_32be ( bo_t *, uint32_t ); |
|---|
| 154 | 154 | static void bo_add_64be ( bo_t *, uint64_t ); |
|---|
| 155 | | static void bo_add_fourcc(bo_t *, char * ); |
|---|
| | 155 | static void bo_add_fourcc(bo_t *, const char * ); |
|---|
| 156 | 156 | static void bo_add_bo ( bo_t *, bo_t * ); |
|---|
| 157 | 157 | static void bo_add_mem ( bo_t *, int , uint8_t * ); |
|---|
| … | … | |
| 160 | 160 | static void bo_fix_32be ( bo_t *, int , uint32_t ); |
|---|
| 161 | 161 | |
|---|
| 162 | | static bo_t *box_new ( char *fcc ); |
|---|
| 163 | | static bo_t *box_full_new( char *fcc, uint8_t v, uint32_t f ); |
|---|
| | 162 | static bo_t *box_new ( const char *fcc ); |
|---|
| | 163 | static bo_t *box_full_new( const char *fcc, uint8_t v, uint32_t f ); |
|---|
| 164 | 164 | static void box_fix ( bo_t *box ); |
|---|
| 165 | 165 | static void box_free ( bo_t *box ); |
|---|
| … | … | |
| 1529 | 1529 | } |
|---|
| 1530 | 1530 | |
|---|
| 1531 | | static int64_t get_timestamp(); |
|---|
| | 1531 | static int64_t get_timestamp(void); |
|---|
| 1532 | 1532 | |
|---|
| 1533 | 1533 | static uint32_t mvhd_matrix[9] = |
|---|
| … | … | |
| 2004 | 2004 | } |
|---|
| 2005 | 2005 | |
|---|
| 2006 | | static void bo_add_fourcc( bo_t *p_bo, char *fcc ) |
|---|
| | 2006 | static void bo_add_fourcc( bo_t *p_bo, const char *fcc ) |
|---|
| 2007 | 2007 | { |
|---|
| 2008 | 2008 | bo_add_8( p_bo, fcc[0] ); |
|---|
| … | … | |
| 2072 | 2072 | } |
|---|
| 2073 | 2073 | |
|---|
| 2074 | | static bo_t * box_new( char *fcc ) |
|---|
| | 2074 | static bo_t * box_new( const char *fcc ) |
|---|
| 2075 | 2075 | { |
|---|
| 2076 | 2076 | bo_t *box; |
|---|
| … | … | |
| 2087 | 2087 | } |
|---|
| 2088 | 2088 | |
|---|
| 2089 | | static bo_t * box_full_new( char *fcc, uint8_t v, uint32_t f ) |
|---|
| | 2089 | static bo_t * box_full_new( const char *fcc, uint8_t v, uint32_t f ) |
|---|
| 2090 | 2090 | { |
|---|
| 2091 | 2091 | bo_t *box; |
|---|
| … | … | |
| 2153 | 2153 | } |
|---|
| 2154 | 2154 | |
|---|
| 2155 | | static int64_t get_timestamp() |
|---|
| | 2155 | static int64_t get_timestamp(void) |
|---|
| 2156 | 2156 | { |
|---|
| 2157 | 2157 | int64_t i_timestamp = 0; |
|---|