ParseContext *pc = &h->s.parse_context;
int next;
+ if (!h->got_first) {
+ h->got_first = 1;
+ if (avctx->extradata_size) {
+ h->s.avctx = avctx;
+ ff_h264_decode_extradata(h);
+ }
+ }
+
if(s->flags & PARSER_FLAG_COMPLETE_FRAMES){
next= buf_size;
}else{