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/h263.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/h263.c')
-rw-r--r-- | libavcodec/h263.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 7d88f06bde..cb7183045f 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -810,7 +810,7 @@ static inline int get_p_cbp(MpegEncContext * s, for (i = 0; i < 6; i++) { if (s->block_last_index[i] >= 0 && ((cbp >> (5 - i))&1)==0 ){ s->block_last_index[i]= -1; - memset(s->block[i], 0, sizeof(DCTELEM)*64); + s->dsp.clear_block(s->block[i]); } } }else{ @@ -853,7 +853,7 @@ static inline int get_b_cbp(MpegEncContext * s, DCTELEM block[6][64], for (i = 0; i < 6; i++) { if (s->block_last_index[i] >= 0 && ((cbp >> (5 - i))&1)==0 ){ s->block_last_index[i]= -1; - memset(s->block[i], 0, sizeof(DCTELEM)*64); + s->dsp.clear_block(s->block[i]); } } }else{ @@ -4651,7 +4651,7 @@ retry: rl = &rl_intra_aic; i = 0; s->gb= gb; - memset(block, 0, sizeof(DCTELEM)*64); + s->dsp.clear_block(block); goto retry; } av_log(s->avctx, AV_LOG_ERROR, "run overflow at %dx%d i:%d\n", s->mb_x, s->mb_y, s->mb_intra); |