From 7099f36578252935157be322bc9a34d0c861f83e Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 2 Jan 2012 17:49:38 +0000 Subject: lavc: replace rest of deprecated FF_*_TYPE with AV_PICTURE_TYPE_* Signed-off-by: Michael Niedermayer --- libavcodec/flashsv2enc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/flashsv2enc.c') diff --git a/libavcodec/flashsv2enc.c b/libavcodec/flashsv2enc.c index 9f7017e033..6466be7858 100644 --- a/libavcodec/flashsv2enc.c +++ b/libavcodec/flashsv2enc.c @@ -870,12 +870,12 @@ static int flashsv2_encode_frame(AVCodecContext * avctx, uint8_t * buf, if (keyframe) { new_key_frame(s); - p->pict_type = FF_I_TYPE; + p->pict_type = AV_PICTURE_TYPE_I; p->key_frame = 1; s->last_key_frame = avctx->frame_number; av_log(avctx, AV_LOG_DEBUG, "Inserting key frame at frame %d\n", avctx->frame_number); } else { - p->pict_type = FF_P_TYPE; + p->pict_type = AV_PICTURE_TYPE_P; p->key_frame = 0; } -- cgit v1.2.3