summaryrefslogtreecommitdiff
path: root/libavcodec/cllc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/cllc.c')
-rw-r--r--libavcodec/cllc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cllc.c b/libavcodec/cllc.c
index 911717b68d..52cb86e50b 100644
--- a/libavcodec/cllc.c
+++ b/libavcodec/cllc.c
@@ -460,7 +460,7 @@ static int cllc_decode_frame(AVCodecContext *avctx, AVFrame *pic,
return AVERROR_INVALIDDATA;
}
- pic->key_frame = 1;
+ pic->flags |= AV_FRAME_FLAG_KEY;
pic->pict_type = AV_PICTURE_TYPE_I;
*got_picture_ptr = 1;