History

avcodec/xbm_parser: mark frame as intra only and as key frame

Paul B Mahol committed 5 years ago

Commit 2a2f6851 parent 49785121 file · +2 −1Browse files

Unified · Split

libavcodec/xbm_parser.c+2−1
@@ -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;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t