mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*
This commit is contained in:
@ -32,7 +32,7 @@
|
||||
static av_cold int raw_init_encoder(AVCodecContext *avctx)
|
||||
{
|
||||
avctx->coded_frame = (AVFrame *)avctx->priv_data;
|
||||
avctx->coded_frame->pict_type = FF_I_TYPE;
|
||||
avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
|
||||
avctx->coded_frame->key_frame = 1;
|
||||
avctx->bits_per_coded_sample = av_get_bits_per_pixel(&av_pix_fmt_descriptors[avctx->pix_fmt]);
|
||||
if(!avctx->codec_tag)
|
||||
|
Reference in New Issue
Block a user