From 975a1447f76e8d30fc01e6ea5466c84faf3d76e4 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Fri, 29 Apr 2011 18:53:57 +0200 Subject: Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*. Signed-off-by: Diego Biurrun --- libavcodec/libxvid_rc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/libxvid_rc.c') diff --git a/libavcodec/libxvid_rc.c b/libavcodec/libxvid_rc.c index 9e33170a30..b4bc715aea 100644 --- a/libavcodec/libxvid_rc.c +++ b/libavcodec/libxvid_rc.c @@ -134,7 +134,7 @@ float ff_xvid_rate_estimate_qscale(MpegEncContext *s, int dry_run){ if(!dry_run) s->rc_context.dry_run_qscale= 0; - if(s->pict_type == FF_B_TYPE) //FIXME this is not exactly identical to xvid + if(s->pict_type == AV_PICTURE_TYPE_B) //FIXME this is not exactly identical to xvid return xvid_plg_data.quant * FF_QP2LAMBDA * s->avctx->b_quant_factor + s->avctx->b_quant_offset; else return xvid_plg_data.quant * FF_QP2LAMBDA; -- cgit v1.2.3