Lines Matching refs:vidbuf_start
104 uint8_t * vidbuf_start = NULL;
111 vidbuf_start = av_malloc(vidbuf_capacity = BUFFER_PADDING_SIZE);
112 if(!vidbuf_start)
118 vidbuf_start[vidbuf_nbytes++] = block_type;
125 if(avio_read(pb, &vidbuf_start[vidbuf_nbytes], 2) != 2)
131 vidbuf_start = av_fast_realloc(vidbuf_start, &vidbuf_capacity, vidbuf_nbytes + BUFFER_PADDING_SIZE);
132 if(!vidbuf_start)
136 vidbuf_start[vidbuf_nbytes++] = code;
140 vidbuf_start[vidbuf_nbytes++] = avio_r8(pb);
142 if(avio_read(pb, &vidbuf_start[vidbuf_nbytes], code) != code)
160 memcpy(pkt->data, vidbuf_start, vidbuf_nbytes);
161 av_free(vidbuf_start);
170 av_free(vidbuf_start);