Lines Matching refs:vidbuf_start
99 uint8_t * vidbuf_start = NULL;
127 vidbuf_start = av_malloc(vidbuf_capacity = BUFFER_PADDING_SIZE);
128 if(!vidbuf_start)
134 vidbuf_start[vidbuf_nbytes++] = block_type;
141 if (avio_read(pb, &vidbuf_start[vidbuf_nbytes], 2) != 2) {
149 vidbuf_start = av_fast_realloc(vidbuf_start, &vidbuf_capacity, vidbuf_nbytes + BUFFER_PADDING_SIZE);
150 if(!vidbuf_start)
154 vidbuf_start[vidbuf_nbytes++] = code;
158 vidbuf_start[vidbuf_nbytes++] = avio_r8(pb);
160 if (avio_read(pb, &vidbuf_start[vidbuf_nbytes], code) != code) {
182 memcpy(pkt->data, vidbuf_start, vidbuf_nbytes);
183 av_free(vidbuf_start);
203 av_free(vidbuf_start);