Revision ce5e49b0 libavcodec/motion_est_template.c

View differences:

libavcodec/motion_est_template.c
1037 1037
    score_map[0]= dmin;
1038 1038

  
1039 1039
    //FIXME precalc first term below?
1040
    if((s->pict_type == FF_B_TYPE && !(c->flags & FLAG_DIRECT)) || s->flags&CODEC_FLAG_MV0)
1040
    if((s->pict_type == AV_PICTURE_TYPE_B && !(c->flags & FLAG_DIRECT)) || s->flags&CODEC_FLAG_MV0)
1041 1041
        dmin += (mv_penalty[pred_x] + mv_penalty[pred_y])*penalty_factor;
1042 1042

  
1043 1043
    /* first line */

Also available in: Unified diff