38 av_first_parser = parser;
50 for(parser = av_first_parser; parser !=
NULL; parser = parser->
next) {
114 uint8_t **poutbuf,
int *poutbuf_size,
115 const uint8_t *buf,
int buf_size,
116 int64_t pts, int64_t dts,
130 memset(dummy_buf, 0,
sizeof(dummy_buf));
171 uint8_t **poutbuf,
int *poutbuf_size,
172 const uint8_t *buf,
int buf_size,
int keyframe){
184 *poutbuf_size= buf_size;
217 av_dlog(
NULL,
"overread %d, state:%X next:%d index:%d o_index:%d\n",
219 av_dlog(
NULL,
"%X %X %X %X\n", (*buf)[0], (*buf)[1], (*buf)[2], (*buf)[3]);
242 pc->
index += *buf_size;
264 for(;next < 0; next++){
271 av_dlog(
NULL,
"overread %d, state:%X next:%d index:%d o_index:%d\n",
273 av_dlog(
NULL,
"%X %X %X %X\n", (*buf)[0], (*buf)[1],(*buf)[2],(*buf)[3]);
289 const uint8_t *buf,
int buf_size)
294 for(i=0; i<buf_size; i++){
295 state= (state<<8) | buf[i];
296 if(state == 0x1B3 || state == 0x1B6)