Revision f038fe8b

View differences:

ffmpeg.c
1172 1172
    int data_size, got_picture;
1173 1173
    AVFrame picture;
1174 1174
    void *buffer_to_free;
1175
    static int samples_size= 0;
1175
    static unsigned int samples_size= 0;
1176 1176
    static short *samples= NULL;
1177 1177
    AVSubtitle subtitle, *subtitle_to_free;
1178 1178
    int got_subtitle;
libavcodec/4xm.c
123 123
    int last_dc;
124 124
    DCTELEM __align8 block[6][64];
125 125
    uint8_t *bitstream_buffer;
126
    int bitstream_buffer_size;
126
    unsigned int bitstream_buffer_size;
127 127
    CFrameBuffer cfrm[CFRAME_BUFFER_COUNT];
128 128
} FourXContext;
129 129

  
libavcodec/asv1.c
48 48
    uint16_t __align8 intra_matrix[64];
49 49
    int __align8 q_intra_matrix[64];
50 50
    uint8_t *bitstream_buffer;
51
    int bitstream_buffer_size;
51
    unsigned int bitstream_buffer_size;
52 52
} ASV1Context;
53 53

  
54 54
static const uint8_t scantab[64]={
libavcodec/flac.c
66 66
    uint8_t *bitstream;
67 67
    int bitstream_size;
68 68
    int bitstream_index;
69
    int allocated_bitstream_size;
69
    unsigned int allocated_bitstream_size;
70 70
} FLACContext;
71 71

  
72 72
#define METADATA_TYPE_STREAMINFO 0
libavcodec/h264.c
162 162
#define NAL_SPS_EXT             13
163 163
#define NAL_AUXILIARY_SLICE     19
164 164
    uint8_t *rbsp_buffer;
165
    int rbsp_buffer_size;
165
    unsigned int rbsp_buffer_size;
166 166

  
167 167
    /**
168 168
      * Used to parse AVC variant of h264
libavcodec/huffyuv.c
72 72
    VLC vlc[3];
73 73
    AVFrame picture;
74 74
    uint8_t *bitstream_buffer;
75
    int bitstream_buffer_size;
75
    unsigned int bitstream_buffer_size;
76 76
    DSPContext dsp;
77 77
}HYuvContext;
78 78

  
libavcodec/mdec.c
49 49
    uint16_t __align8 intra_matrix[64];
50 50
    int __align8 q_intra_matrix[64];
51 51
    uint8_t *bitstream_buffer;
52
    int bitstream_buffer_size;
52
    unsigned int bitstream_buffer_size;
53 53
    int block_last_index[6];
54 54
} MDECContext;
55 55

  
libavcodec/mpeg4data.h
169 169
{0x3F7C, 15},{0x3F7D, 15},{0x0000, 4}
170 170
};
171 171

  
172
static const uint8_t inter_rvlc_run[169]={
172
static const int8_t inter_rvlc_run[169]={
173 173
 0,  0,  0,  0,  0,  0,  0,  0,
174 174
 0,  0,  0,  0,  0,  0,  0,  0,
175 175
 0,  0,  0,  1,  1,  1,  1,  1,
......
194 194
43, 44,
195 195
};
196 196

  
197
static const uint8_t inter_rvlc_level[169]={
197
static const int8_t inter_rvlc_level[169]={
198 198
 1,  2,  3,  4,  5,  6,  7,  8,
199 199
 9, 10, 11, 12, 13, 14, 15, 16,
200 200
17, 18, 19,  1,  2,  3,  4,  5,
......
273 273
{0x3F7C, 15},{0x3F7D, 15},{0x0000,  4}
274 274
};
275 275

  
276
static const uint8_t intra_rvlc_run[169]={
276
static const int8_t intra_rvlc_run[169]={
277 277
 0,  0,  0,  0,  0,  0,  0,  0,
278 278
 0,  0,  0,  0,  0,  0,  0,  0,
279 279
 0,  0,  0,  0,  0,  0,  0,  0,
......
298 298
43, 44,
299 299
};
300 300

  
301
static const uint8_t intra_rvlc_level[169]={
301
static const int8_t intra_rvlc_level[169]={
302 302
 1,  2,  3,  4,  5,  6,  7,  8,
303 303
 9, 10, 11, 12, 13, 14, 15, 16,
304 304
17, 18, 19, 20, 21, 22, 23, 24,
libavcodec/mpegvideo.h
194 194
    uint8_t *buffer;
195 195
    int index;
196 196
    int last_index;
197
    int buffer_size;
197
    unsigned int buffer_size;
198 198
    uint32_t state;             ///< contains the last few bytes in MSB order
199 199
    int frame_start_found;
200 200
    int overread;               ///< the number of bytes which where irreversibly read from the next frame
......
610 610
    int divx_packed;
611 611
    uint8_t *bitstream_buffer; //Divx 5.01 puts several frames in a single one, this is used to reorder them
612 612
    int bitstream_buffer_size;
613
    int allocated_bitstream_buffer_size;
613
    unsigned int allocated_bitstream_buffer_size;
614 614

  
615 615
    int xvid_build;
616 616

  
libavcodec/shorten.c
84 84
    uint8_t *bitstream;
85 85
    int bitstream_size;
86 86
    int bitstream_index;
87
    int allocated_bitstream_size;
87
    unsigned int allocated_bitstream_size;
88 88
    int header_size;
89 89
    uint8_t header[OUT_BUFFER_SIZE];
90 90
    int version;
libavformat/utils.c
3223 3223
                  AVImageFormat *fmt,
3224 3224
                  int (*alloc_cb)(void *, AVImageInfo *info), void *opaque)
3225 3225
{
3226
    char buf[PROBE_BUF_SIZE];
3226
    uint8_t buf[PROBE_BUF_SIZE];
3227 3227
    AVProbeData probe_data, *pd = &probe_data;
3228 3228
    offset_t pos;
3229 3229
    int ret;

Also available in: Unified diff