Revision 03201146 libavcodec/motion_est.c

View differences:

libavcodec/motion_est.c
1131 1131
        if (vard <= 64 || vard < varc)
1132 1132
            s->scene_change_score+= ff_sqrt(vard) - ff_sqrt(varc);
1133 1133
        else
1134
            s->scene_change_score+= 20;
1134
            s->scene_change_score+= s->qscale;
1135 1135

  
1136 1136
        if (vard*2 + 200 > varc)
1137 1137
            mb_type|= MB_TYPE_INTRA;

Also available in: Unified diff