52 for(parser = av_first_parser; parser != NULL; parser = parser->
next) {
116 uint8_t **poutbuf,
int *poutbuf_size,
118 int64_t pts, int64_t dts,
132 memset(dummy_buf, 0,
sizeof(dummy_buf));
173 uint8_t **poutbuf,
int *poutbuf_size,
174 const uint8_t *
buf,
int buf_size,
int keyframe){
186 *poutbuf_size= buf_size;
219 av_dlog(NULL,
"overread %d, state:%X next:%d index:%d o_index:%d\n",
221 av_dlog(NULL,
"%X %X %X %X\n", (*buf)[0], (*buf)[1], (*buf)[2], (*buf)[3]);
246 pc->
index += *buf_size;
270 for(;next < 0; next++){
277 av_dlog(NULL,
"overread %d, state:%X next:%d index:%d o_index:%d\n",
279 av_dlog(NULL,
"%X %X %X %X\n", (*buf)[0], (*buf)[1],(*buf)[2],(*buf)[3]);
300 for(i=0; i<buf_size; i++){
301 state= (state<<8) | buf[i];
302 if(state == 0x1B3 || state == 0x1B6)