diff options
Diffstat (limited to 'libavcodec/tmv.c')
-rw-r--r-- | libavcodec/tmv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tmv.c b/libavcodec/tmv.c index cdb83452e5..582b6ddd02 100644 --- a/libavcodec/tmv.c +++ b/libavcodec/tmv.c @@ -57,7 +57,7 @@ static int tmv_decode_frame(AVCodecContext *avctx, AVFrame *frame, } frame->pict_type = AV_PICTURE_TYPE_I; - frame->key_frame = 1; + frame->flags |= AV_FRAME_FLAG_KEY; dst = frame->data[0]; frame->palette_has_changed = 1; |