diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2008-12-10 21:35:17 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2008-12-10 21:35:17 +0000 |
commit | 5fecfb7d58a12baf326e99f2d071060f2638d93c (patch) | |
tree | c133296ab20628e90ac488b2d2e265117aaff769 /libavcodec/wmv2.c | |
parent | 5fac277602ebab5990c4d20342a4e55bb7c43b93 (diff) | |
download | ffmpeg-5fecfb7d58a12baf326e99f2d071060f2638d93c.tar.gz |
clear_block mmx
Originally committed as revision 16045 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wmv2.c')
-rw-r--r-- | libavcodec/wmv2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/wmv2.c b/libavcodec/wmv2.c index 1e29363cf9..015e3f28b9 100644 --- a/libavcodec/wmv2.c +++ b/libavcodec/wmv2.c @@ -43,12 +43,12 @@ static void wmv2_add_block(Wmv2Context *w, DCTELEM *block1, uint8_t *dst, int st case 1: ff_simple_idct84_add(dst , stride, block1); ff_simple_idct84_add(dst + 4*stride, stride, w->abt_block2[n]); - memset(w->abt_block2[n], 0, 64*sizeof(DCTELEM)); + s->dsp.clear_block(w->abt_block2[n]); break; case 2: ff_simple_idct48_add(dst , stride, block1); ff_simple_idct48_add(dst + 4 , stride, w->abt_block2[n]); - memset(w->abt_block2[n], 0, 64*sizeof(DCTELEM)); + s->dsp.clear_block(w->abt_block2[n]); break; default: av_log(s->avctx, AV_LOG_ERROR, "internal error in WMV2 abt\n"); |