summaryrefslogtreecommitdiff
path: root/libavcodec/v410dec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/v410dec.c')
-rw-r--r--libavcodec/v410dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/v410dec.c b/libavcodec/v410dec.c
index fb859e8cca..35e4a8ae03 100644
--- a/libavcodec/v410dec.c
+++ b/libavcodec/v410dec.c
@@ -102,7 +102,7 @@ static int v410_decode_frame(AVCodecContext *avctx, AVFrame *pic,
if ((ret = ff_thread_get_buffer(avctx, pic, 0)) < 0)
return ret;
- pic->key_frame = 1;
+ pic->flags |= AV_FRAME_FLAG_KEY;
pic->pict_type = AV_PICTURE_TYPE_I;
td.buf = src;