diff options
author | Roman Shaposhnik <roman@shaposhnik.org> | 2009-02-19 00:28:08 +0000 |
---|---|---|
committer | Roman Shaposhnik <roman@shaposhnik.org> | 2009-02-19 00:28:08 +0000 |
commit | 3899eb2f65ddcda27e352edb760e181cb11cbc76 (patch) | |
tree | 9e8857bf3f392b9da90c3e7f7c6999a0bc3b9490 /libavcodec/dsputil.c | |
parent | d52b39c79c015793c7ed3cde84fc9c98fbf527b9 (diff) | |
download | ffmpeg-streaming-3899eb2f65ddcda27e352edb760e181cb11cbc76.zip ffmpeg-streaming-3899eb2f65ddcda27e352edb760e181cb11cbc76.tar.gz |
Making the arrays accomodate an extra intra 8x8 cmp function
Originally committed as revision 17446 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index b33fb50..71a5b94 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -3425,9 +3425,9 @@ static int zero_cmp(void *s, uint8_t *a, uint8_t *b, int stride, int h){ void ff_set_cmp(DSPContext* c, me_cmp_func *cmp, int type){ int i; - memset(cmp, 0, sizeof(void*)*5); + memset(cmp, 0, sizeof(void*)*6); - for(i=0; i<5; i++){ + for(i=0; i<6; i++){ switch(type&0xFF){ case FF_CMP_SAD: cmp[i]= c->sad[i]; |