Lines Matching refs:size
61 size = avio_rl32(pb); \
96 FourxmDemuxContext *fourxm, uint8_t *buf, int size,
101 if (size != vtrk_SIZE || left < size + 8) {
130 FourxmDemuxContext *fourxm, uint8_t *buf, int size,
136 if (size != strk_SIZE || left < size + 8)
216 unsigned int size;
232 header_size = size - 4;
248 size = AV_RL32(&header[i + 4]);
249 if (size > header_size - i - 8 && (fourcc_tag == vtrk_TAG || fourcc_tag == strk_TAG)) {
250 av_log(s, AV_LOG_ERROR, "chunk larger than array %d>%d\n", size, header_size - i - 8);
263 if ((ret = parse_vtrk(s, fourxm, header + i, size,
267 i += 8 + size;
269 if ((ret = parse_strk(s, fourxm, header + i, size,
273 i += 8 + size;
300 unsigned int size;
311 size = AV_RL32(&header[4]);
329 /* allocate 8 more bytes than 'size' to account for fourcc
330 * and size */
331 if (size > INT_MAX - AV_INPUT_BUFFER_PADDING_SIZE - 8)
335 if ((ret = av_new_packet(pkt, size + 8)) < 0)
341 ret = avio_read(s->pb, &pkt->data[8], size);
354 size -= 8;
358 ret = av_get_packet(s->pb, pkt, size);
367 audio_frame_count = size;
378 avio_skip(pb, size);
383 avio_skip(pb, size);