]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libxvid_rc.c
aacenc: aac_encode_init() cleanup
[ffmpeg] / libavcodec / libxvid_rc.c
index 9e33170a301d78ed42ff4a324493d21185649361..b4bc715aeae4f599845721a7236ff5af52dd44de 100644 (file)
@@ -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;