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/vp3.c | |
parent | 5fac277602ebab5990c4d20342a4e55bb7c43b93 (diff) | |
download | ffmpeg-streaming-5fecfb7d58a12baf326e99f2d071060f2638d93c.zip ffmpeg-streaming-5fecfb7d58a12baf326e99f2d071060f2638d93c.tar.gz |
clear_block mmx
Originally committed as revision 16045 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r-- | libavcodec/vp3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index a5b97ad..2737025 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -1402,14 +1402,14 @@ static void render_slice(Vp3DecodeContext *s, int slice) /* dequantize the DCT coefficients */ if(s->avctx->idct_algo==FF_IDCT_VP3){ Coeff *coeff= s->coeffs + i; - memset(block, 0, sizeof(block)); + s->dsp.clear_block(block); while(coeff->next){ block[coeff->index]= coeff->coeff * dequantizer[coeff->index]; coeff= coeff->next; } }else{ Coeff *coeff= s->coeffs + i; - memset(block, 0, sizeof(block)); + s->dsp.clear_block(block); while(coeff->next){ block[coeff->index]= (coeff->coeff * dequantizer[coeff->index] + 2)>>2; coeff= coeff->next; |