From: Anton Khirnov Date: Thu, 12 Jan 2012 08:29:43 +0000 (+0100) Subject: lavc: replace some remaining FF_I_TYPE with AV_PICTURE_TYPE_I X-Git-Tag: android-x86-4.4-r1~8529^2~3760 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f3d02a8b280e189bb59db0f194d224bffd4db573;p=android-x86%2Fexternal-ffmpeg.git lavc: replace some remaining FF_I_TYPE with AV_PICTURE_TYPE_I --- diff --git a/libavcodec/v410dec.c b/libavcodec/v410dec.c index 54c9595826..a6f236bd6d 100644 --- a/libavcodec/v410dec.c +++ b/libavcodec/v410dec.c @@ -68,7 +68,7 @@ static int v410_decode_frame(AVCodecContext *avctx, void *data, } pic->key_frame = 1; - pic->pict_type = FF_I_TYPE; + pic->pict_type = AV_PICTURE_TYPE_I; y = (uint16_t *)pic->data[0]; u = (uint16_t *)pic->data[1]; diff --git a/libavcodec/v410enc.c b/libavcodec/v410enc.c index 11c6abc88e..a6b3ddbf30 100644 --- a/libavcodec/v410enc.c +++ b/libavcodec/v410enc.c @@ -57,7 +57,7 @@ static int v410_encode_frame(AVCodecContext *avctx, uint8_t *buf, avctx->coded_frame->reference = 0; avctx->coded_frame->key_frame = 1; - avctx->coded_frame->pict_type = FF_I_TYPE; + avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I; y = (uint16_t *)pic->data[0]; u = (uint16_t *)pic->data[1]; diff --git a/libavcodec/vble.c b/libavcodec/vble.c index fa205f5982..574582af7b 100644 --- a/libavcodec/vble.c +++ b/libavcodec/vble.c @@ -135,7 +135,7 @@ static int vble_decode_frame(AVCodecContext *avctx, void *data, int *data_size, /* Set flags */ pic->key_frame = 1; - pic->pict_type = FF_I_TYPE; + pic->pict_type = AV_PICTURE_TYPE_I; /* Version should always be 1 */ version = AV_RL32(src);