replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*

This commit is contained in:
Stefano Sabatini
2011-04-28 01:40:44 +02:00
parent 301183d9be
commit ce5e49b0c2
138 changed files with 642 additions and 642 deletions

View File

@ -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)