From 84ce58faf59d88b497917b3d9e13a5fb2a10fe3e Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 4 Jan 2012 19:45:46 +0100 Subject: Replace deprecated FF_I_TYPE with AV_PICTURE_TYPE_I in v308 and yuv4. Found-by: Paul B Mahol --- libavcodec/v308enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/v308enc.c') 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]; -- cgit v1.2.3