summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/v410dec.c2
-rw-r--r--libavcodec/v410enc.c2
-rw-r--r--libavcodec/vble.c2
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);