diff options
Diffstat (limited to 'libavcodec/msp2dec.c')
-rw-r--r-- | libavcodec/msp2dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/msp2dec.c b/libavcodec/msp2dec.c index 9c51c35c61..30a2825e47 100644 --- a/libavcodec/msp2dec.c +++ b/libavcodec/msp2dec.c @@ -47,7 +47,7 @@ static int msp2_decode_frame(AVCodecContext *avctx, AVFrame *p, return ret; p->pict_type = AV_PICTURE_TYPE_I; - p->key_frame = 1; + p->flags |= AV_FRAME_FLAG_KEY; bytestream2_init(&idx, buf, 2 * avctx->height); buf += 2 * avctx->height; |