Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -59,7 +59,8 @@ static int xbm_parse(AVCodecParserContext *s, AVCodecContext *avctx, · 58 unmodified lines | |||
| 59 | uint16_t state16 = bpc->state16; | 59 | uint16_t state16 = bpc->state16; |
| 60 | int next = END_NOT_FOUND, i = 0; | 60 | int next = END_NOT_FOUND, i = 0; |
| 61 | 61 | ||
| 62 | s->pict_type = AV_PICTURE_TYPE_NONE; | 62 | s->pict_type = AV_PICTURE_TYPE_I; |
| 63 | s->key_frame = 1; | ||
| 63 | s->duration = 1; | 64 | s->duration = 1; |
| 64 | 65 | ||
| 65 | *poutbuf_size = 0; | 66 | *poutbuf_size = 0; |