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);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user