diff options
Diffstat (limited to 'libavcodec/xbmdec.c')
-rw-r--r-- | libavcodec/xbmdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/xbmdec.c b/libavcodec/xbmdec.c index a0cc1cb8c6..ecfc957a3f 100644 --- a/libavcodec/xbmdec.c +++ b/libavcodec/xbmdec.c @@ -130,7 +130,7 @@ static int xbm_decode_frame(AVCodecContext *avctx, AVFrame *p, } } - p->key_frame = 1; + p->flags |= AV_FRAME_FLAG_KEY; p->pict_type = AV_PICTURE_TYPE_I; *got_frame = 1; |