From af3d804f9feebe34ad3815c501fba795b801cdd0 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 27 Feb 2012 12:23:19 +0100 Subject: mpegvideo_enc: add cbp_rd flag to mpv_flags. Deprecate CODEC_FLAG_CBP_RD. --- libavcodec/h263.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/h263.h') diff --git a/libavcodec/h263.h b/libavcodec/h263.h index d26cf636eb..2a1ae4839d 100644 --- a/libavcodec/h263.h +++ b/libavcodec/h263.h @@ -148,7 +148,7 @@ static inline int get_p_cbp(MpegEncContext * s, int motion_x, int motion_y){ int cbp, i; - if(s->flags & CODEC_FLAG_CBP_RD){ + if (s->mpv_flags & FF_MPV_FLAG_CBP_RD) { int best_cbpy_score= INT_MAX; int best_cbpc_score= INT_MAX; int cbpc = (-1), cbpy= (-1); -- cgit v1.2.3