Revision 3899eb2f libavcodec/dsputil.c

View differences:

libavcodec/dsputil.c
3425 3425
void ff_set_cmp(DSPContext* c, me_cmp_func *cmp, int type){
3426 3426
    int i;
3427 3427

  
3428
    memset(cmp, 0, sizeof(void*)*5);
3428
    memset(cmp, 0, sizeof(void*)*6);
3429 3429

  
3430
    for(i=0; i<5; i++){
3430
    for(i=0; i<6; i++){
3431 3431
        switch(type&0xFF){
3432 3432
        case FF_CMP_SAD:
3433 3433
            cmp[i]= c->sad[i];

Also available in: Unified diff