Revision 07787186 libavcodec/motion_est.c

View differences:

libavcodec/motion_est.c
1399 1399
    int mx, my, mx2, my2;
1400 1400
    uint8_t *ref_picture= s->me_scratchpad - (mb_x - 1 + (mb_y - 1)*s->linesize)*16;
1401 1401
    int16_t (*mv_table)[2]= s->b_direct_mv_table;
1402
    uint16_t *mv_penalty= s->mv_penalty[s->f_code] + MAX_MV; // f_code of the prev frame
1402
/*    uint16_t *mv_penalty= s->mv_penalty[s->f_code] + MAX_MV; */ // f_code of the prev frame
1403 1403

  
1404 1404
    /* thanks to iso-mpeg the rounding is different for the zero vector, so we need to handle that ... */
1405 1405
    motion_fx= (motion_px*time_pb)/time_pp;

Also available in: Unified diff