From ce5e49b0c2c11ec153834677fc5c903dd71d4e6e Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Thu, 28 Apr 2011 01:40:44 +0200 Subject: replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_* --- libavcodec/pnmdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/pnmdec.c') diff --git a/libavcodec/pnmdec.c b/libavcodec/pnmdec.c index c746db6cc2..6237e9a293 100644 --- a/libavcodec/pnmdec.c +++ b/libavcodec/pnmdec.c @@ -52,7 +52,7 @@ static int pnm_decode_frame(AVCodecContext *avctx, void *data, av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); return -1; } - p->pict_type = FF_I_TYPE; + p->pict_type = AV_PICTURE_TYPE_I; p->key_frame = 1; switch (avctx->pix_fmt) { -- cgit v1.2.3