summaryrefslogtreecommitdiff
path: root/libavcodec/mscc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/mscc.c')
-rw-r--r--libavcodec/mscc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mscc.c b/libavcodec/mscc.c
index e8406aa268..1844664477 100644
--- a/libavcodec/mscc.c
+++ b/libavcodec/mscc.c
@@ -200,7 +200,7 @@ inflate_error:
s->uncomp_buf + s->bpp * j * avctx->width, s->bpp * avctx->width);
}
- frame->key_frame = 1;
+ frame->flags |= AV_FRAME_FLAG_KEY;
frame->pict_type = AV_PICTURE_TYPE_I;
*got_frame = 1;