diff options
Diffstat (limited to 'libavcodec/rscc.c')
-rw-r--r-- | libavcodec/rscc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rscc.c b/libavcodec/rscc.c index 61a25df382..2ae8899977 100644 --- a/libavcodec/rscc.c +++ b/libavcodec/rscc.c @@ -339,7 +339,7 @@ static int rscc_decode_frame(AVCodecContext *avctx, AVFrame *frame, /* Keyframe when the number of pixels updated matches the whole surface */ if (pixel_size == ctx->inflated_size) { frame->pict_type = AV_PICTURE_TYPE_I; - frame->key_frame = 1; + frame->flags |= AV_FRAME_FLAG_KEY; } else { frame->pict_type = AV_PICTURE_TYPE_P; } |