mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
avcodec/xbm_parser: mark frame as intra only and as key frame
This commit is contained in:
parent
4978512dcd
commit
2a2f685613
1 changed files with 2 additions and 1 deletions
|
|
@ -59,7 +59,8 @@ static int xbm_parse(AVCodecParserContext *s, AVCodecContext *avctx,
|
|||
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue