mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avcodec/proresenc_anatoliy: remove coded_frame use
coded_frame.key_frame should be set by the core already Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
47424b865a
commit
15eda746e7
@ -590,9 +590,6 @@ static av_cold int prores_encode_init(AVCodecContext *avctx)
|
||||
scale_mat(QMAT_CHROMA[avctx->profile], ctx->qmat_chroma[i - 1], i);
|
||||
}
|
||||
|
||||
avctx->coded_frame->key_frame = 1;
|
||||
avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user