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]);
244 pc->
index += *buf_size;
266 for(;next < 0; next++){
273 av_dlog(NULL,
"overread %d, state:%X next:%d index:%d o_index:%d\n",
275 av_dlog(NULL,
"%X %X %X %X\n", (*buf)[0], (*buf)[1],(*buf)[2],(*buf)[3]);
296 for(i=0; i<buf_size; i++){
297 state= (state<<8) | buf[i];
298 if(state == 0x1B3 || state == 0x1B6)