aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libavcodec/v308dec.c2
-rw-r--r--libavcodec/v308enc.c2
-rw-r--r--libavcodec/yuv4dec.c2
-rw-r--r--libavcodec/yuv4enc.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/v308dec.c b/libavcodec/v308dec.c
index 3bc3c445ae..a24ccf4384 100644
--- a/libavcodec/v308dec.c
+++ b/libavcodec/v308dec.c
@@ -62,7 +62,7 @@ static int v308_decode_frame(AVCodecContext *avctx, void *data,
}
pic->key_frame = 1;
- pic->pict_type = FF_I_TYPE;
+ pic->pict_type = AV_PICTURE_TYPE_I;
y = pic->data[0];
u = pic->data[1];
diff --git a/libavcodec/v308enc.c b/libavcodec/v308enc.c
index 4e5488a346..77fe073852 100644
--- a/libavcodec/v308enc.c
+++ b/libavcodec/v308enc.c
@@ -56,7 +56,7 @@ static int v308_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 = pic->data[0];
u = pic->data[1];
diff --git a/libavcodec/yuv4dec.c b/libavcodec/yuv4dec.c
index 206accbf0d..996caaf718 100644
--- a/libavcodec/yuv4dec.c
+++ b/libavcodec/yuv4dec.c
@@ -60,7 +60,7 @@ static int yuv4_decode_frame(AVCodecContext *avctx, void *data,
}
pic->key_frame = 1;
- pic->pict_type = FF_I_TYPE;
+ pic->pict_type = AV_PICTURE_TYPE_I;
y = pic->data[0];
u = pic->data[1];
diff --git a/libavcodec/yuv4enc.c b/libavcodec/yuv4enc.c
index f15b7e82de..db7b6245fb 100644
--- a/libavcodec/yuv4enc.c
+++ b/libavcodec/yuv4enc.c
@@ -50,7 +50,7 @@ static int yuv4_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 = pic->data[0];
u = pic->data[1];