57 for (parser = av_first_parser; parser != NULL; parser = parser->
next) {
117 if (s->
cur_offset + off < s->cur_frame_end[i])
124 uint8_t **poutbuf,
int *poutbuf_size,
126 int64_t pts, int64_t dts, int64_t pos)
139 memset(dummy_buf, 0,
sizeof(dummy_buf));
161 poutbuf_size, buf, buf_size);
178 uint8_t **poutbuf,
int *poutbuf_size,
179 const uint8_t *
buf,
int buf_size,
int keyframe)
192 *poutbuf_size = buf_size;
197 *poutbuf_size =
size;
224 av_dlog(NULL,
"overread %d, state:%X next:%d index:%d o_index:%d\n",
227 (*buf)[0], (*buf)[1], (*buf)[2], (*buf)[3]);
243 *buf_size + pc->
index +
252 pc->
index += *buf_size;
278 for (; next < 0; next++) {
285 av_dlog(NULL,
"overread %d, state:%X next:%d index:%d o_index:%d\n",
288 (*buf)[0], (*buf)[1], (*buf)[2], (*buf)[3]);
306 for (i = 0; i < buf_size; i++) {
307 state = state << 8 | buf[i];
308 if (state == 0x1B3 || state == 0x1B6)