Mercurial > libavcodec.hg
diff dsputil.c @ 8976:e7d87561b42b libavcodec
Making the arrays accomodate an extra intra 8x8 cmp function
author | romansh |
---|---|
date | Thu, 19 Feb 2009 00:28:08 +0000 |
parents | bee83b3f9a6b |
children | a49197cd37ce |
line wrap: on
line diff
--- a/dsputil.c Thu Feb 19 00:27:57 2009 +0000 +++ b/dsputil.c Thu Feb 19 00:28:08 2009 +0000 @@ -3425,9 +3425,9 @@ void ff_set_cmp(DSPContext* c, me_cmp_func *cmp, int type){ int i; - memset(cmp, 0, sizeof(void*)*5); - - for(i=0; i<5; i++){ + memset(cmp, 0, sizeof(void*)*6); + + for(i=0; i<6; i++){ switch(type&0xFF){ case FF_CMP_SAD: cmp[i]= c->sad[i];