Mercurial > libavcodec.hg
changeset 3066:04b924f8f5a5 libavcodec
warning fixes by Luca Abeni, lucabe72 ##@## email ##.## it
author | diego |
---|---|
date | Wed, 25 Jan 2006 22:10:13 +0000 |
parents | b2c352a66a73 |
children | d084a83f2117 |
files | 4xm.c asv1.c flac.c h264.c huffyuv.c mdec.c mpeg4data.h mpegvideo.h shorten.c |
diffstat | 9 files changed, 13 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/4xm.c Wed Jan 25 02:16:27 2006 +0000 +++ b/4xm.c Wed Jan 25 22:10:13 2006 +0000 @@ -123,7 +123,7 @@ int last_dc; DCTELEM __align8 block[6][64]; uint8_t *bitstream_buffer; - int bitstream_buffer_size; + unsigned int bitstream_buffer_size; CFrameBuffer cfrm[CFRAME_BUFFER_COUNT]; } FourXContext;
--- a/asv1.c Wed Jan 25 02:16:27 2006 +0000 +++ b/asv1.c Wed Jan 25 22:10:13 2006 +0000 @@ -48,7 +48,7 @@ uint16_t __align8 intra_matrix[64]; int __align8 q_intra_matrix[64]; uint8_t *bitstream_buffer; - int bitstream_buffer_size; + unsigned int bitstream_buffer_size; } ASV1Context; static const uint8_t scantab[64]={
--- a/flac.c Wed Jan 25 02:16:27 2006 +0000 +++ b/flac.c Wed Jan 25 22:10:13 2006 +0000 @@ -66,7 +66,7 @@ uint8_t *bitstream; int bitstream_size; int bitstream_index; - int allocated_bitstream_size; + unsigned int allocated_bitstream_size; } FLACContext; #define METADATA_TYPE_STREAMINFO 0
--- a/h264.c Wed Jan 25 02:16:27 2006 +0000 +++ b/h264.c Wed Jan 25 22:10:13 2006 +0000 @@ -162,7 +162,7 @@ #define NAL_SPS_EXT 13 #define NAL_AUXILIARY_SLICE 19 uint8_t *rbsp_buffer; - int rbsp_buffer_size; + unsigned int rbsp_buffer_size; /** * Used to parse AVC variant of h264
--- a/huffyuv.c Wed Jan 25 02:16:27 2006 +0000 +++ b/huffyuv.c Wed Jan 25 22:10:13 2006 +0000 @@ -72,7 +72,7 @@ VLC vlc[3]; AVFrame picture; uint8_t *bitstream_buffer; - int bitstream_buffer_size; + unsigned int bitstream_buffer_size; DSPContext dsp; }HYuvContext;
--- a/mdec.c Wed Jan 25 02:16:27 2006 +0000 +++ b/mdec.c Wed Jan 25 22:10:13 2006 +0000 @@ -49,7 +49,7 @@ uint16_t __align8 intra_matrix[64]; int __align8 q_intra_matrix[64]; uint8_t *bitstream_buffer; - int bitstream_buffer_size; + unsigned int bitstream_buffer_size; int block_last_index[6]; } MDECContext;
--- a/mpeg4data.h Wed Jan 25 02:16:27 2006 +0000 +++ b/mpeg4data.h Wed Jan 25 22:10:13 2006 +0000 @@ -169,7 +169,7 @@ {0x3F7C, 15},{0x3F7D, 15},{0x0000, 4} }; -static const uint8_t inter_rvlc_run[169]={ +static const int8_t inter_rvlc_run[169]={ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, @@ -194,7 +194,7 @@ 43, 44, }; -static const uint8_t inter_rvlc_level[169]={ +static const int8_t inter_rvlc_level[169]={ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 1, 2, 3, 4, 5, @@ -273,7 +273,7 @@ {0x3F7C, 15},{0x3F7D, 15},{0x0000, 4} }; -static const uint8_t intra_rvlc_run[169]={ +static const int8_t intra_rvlc_run[169]={ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -298,7 +298,7 @@ 43, 44, }; -static const uint8_t intra_rvlc_level[169]={ +static const int8_t intra_rvlc_level[169]={ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
--- a/mpegvideo.h Wed Jan 25 02:16:27 2006 +0000 +++ b/mpegvideo.h Wed Jan 25 22:10:13 2006 +0000 @@ -194,7 +194,7 @@ uint8_t *buffer; int index; int last_index; - int buffer_size; + unsigned int buffer_size; uint32_t state; ///< contains the last few bytes in MSB order int frame_start_found; int overread; ///< the number of bytes which where irreversibly read from the next frame @@ -610,7 +610,7 @@ int divx_packed; uint8_t *bitstream_buffer; //Divx 5.01 puts several frames in a single one, this is used to reorder them int bitstream_buffer_size; - int allocated_bitstream_buffer_size; + unsigned int allocated_bitstream_buffer_size; int xvid_build;
--- a/shorten.c Wed Jan 25 02:16:27 2006 +0000 +++ b/shorten.c Wed Jan 25 22:10:13 2006 +0000 @@ -84,7 +84,7 @@ uint8_t *bitstream; int bitstream_size; int bitstream_index; - int allocated_bitstream_size; + unsigned int allocated_bitstream_size; int header_size; uint8_t header[OUT_BUFFER_SIZE]; int version;