diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-01-12 12:29:43 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-01-12 21:18:23 +0400 |
commit | f3d02a8b280e189bb59db0f194d224bffd4db573 (patch) | |
tree | 1b5b8e4029e2b0a44ed8aaf4aa36833c8f3565fc | |
parent | a29c25a9b27456367c7550364d5ba5d7e3798323 (diff) |
lavc: replace some remaining FF_I_TYPE with AV_PICTURE_TYPE_I
-rw-r--r-- | libavcodec/v410dec.c | 2 | ||||
-rw-r--r-- | libavcodec/v410enc.c | 2 | ||||
-rw-r--r-- | libavcodec/vble.c | 2 |
3 files changed, 3 insertions, 3 deletions
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); |