Mercurial > libavcodec.hg
diff motion_est.c @ 620:a5aa53b6e648 libavcodec
warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
author | michaelni |
---|---|
date | Wed, 28 Aug 2002 08:15:30 +0000 |
parents | c0005de2be59 |
children | 45e8f39fda50 |
line wrap: on
line diff
--- a/motion_est.c Tue Aug 27 16:28:19 2002 +0000 +++ b/motion_est.c Wed Aug 28 08:15:30 2002 +0000 @@ -1399,7 +1399,7 @@ int mx, my, mx2, my2; uint8_t *ref_picture= s->me_scratchpad - (mb_x - 1 + (mb_y - 1)*s->linesize)*16; int16_t (*mv_table)[2]= s->b_direct_mv_table; - uint16_t *mv_penalty= s->mv_penalty[s->f_code] + MAX_MV; // f_code of the prev frame +/* uint16_t *mv_penalty= s->mv_penalty[s->f_code] + MAX_MV; */ // f_code of the prev frame /* thanks to iso-mpeg the rounding is different for the zero vector, so we need to handle that ... */ motion_fx= (motion_px*time_pb)/time_pp;