Commit 66fa2a1f authored by Paul B Mahol's avatar Paul B Mahol Committed by Anton Khirnov

v210enc: do not set coded_frame->key_frame

It is already set in avcodec_alloc_frame().
Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent d73466f8
......@@ -44,7 +44,6 @@ static av_cold int encode_init(AVCodecContext *avctx)
if (!avctx->coded_frame)
return AVERROR(ENOMEM);
avctx->coded_frame->key_frame = 1;
avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment