motion_est: fix ffmpeg compilation with DEBUG defined

Remove the problematic av_dlog() call
This commit is contained in:
Maksym Veremeyenko 2011-05-10 15:12:40 +03:00 committed by Michael Niedermayer
parent 3d929a607a
commit 002e1f1eb3

View File

@ -1119,8 +1119,6 @@ void ff_estimate_p_frame_motion(MpegEncContext * s,
// pic->mb_cmp_score[s->mb_stride * mb_y + mb_x] = dmin; // pic->mb_cmp_score[s->mb_stride * mb_y + mb_x] = dmin;
c->mc_mb_var_sum_temp += (vard+128)>>8; c->mc_mb_var_sum_temp += (vard+128)>>8;
av_dlog(s, "varc=%4d avg_var=%4d (sum=%4d) vard=%4d mx=%2d my=%2d\n",
varc, s->avg_mb_var, sum, vard, mx - xx, my - yy);
if(mb_type){ if(mb_type){
int p_score= FFMIN(vard, varc-500+(s->lambda2>>FF_LAMBDA_SHIFT)*100); int p_score= FFMIN(vard, varc-500+(s->lambda2>>FF_LAMBDA_SHIFT)*100);
int i_score= varc-500+(s->lambda2>>FF_LAMBDA_SHIFT)*20; int i_score= varc-500+(s->lambda2>>FF_LAMBDA_SHIFT)*20;