summaryrefslogtreecommitdiff
path: root/libavcodec/notchlc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/notchlc.c')
-rw-r--r--libavcodec/notchlc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/notchlc.c b/libavcodec/notchlc.c
index 90704e1aeb..d973c83ac7 100644
--- a/libavcodec/notchlc.c
+++ b/libavcodec/notchlc.c
@@ -514,7 +514,7 @@ static int 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;
*got_frame = 1;