uint16_t state16 = bpc->state16;
int next = END_NOT_FOUND, i = 0;
- s->pict_type = AV_PICTURE_TYPE_NONE;
+ s->pict_type = AV_PICTURE_TYPE_I;
+ s->key_frame = 1;
s->duration = 1;
*poutbuf_size = 0;
return next;
}
-AVCodecParser ff_xbm_parser = {
+const AVCodecParser ff_xbm_parser = {
.codec_ids = { AV_CODEC_ID_XBM },
.priv_data_size = sizeof(XBMParseContext),
.parser_init = xbm_init,