summaryrefslogtreecommitdiff
path: root/libavcodec/i386/mpegvideo_mmx_template.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-10-28 10:12:57 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-10-28 10:12:57 +0000
commit1c3990dbba6a1e594c8a273e85c8460d90d29643 (patch)
tree432737cb6f39a6f434f284d6bacf0f56c1886430 /libavcodec/i386/mpegvideo_mmx_template.c
parentd7e2f57f0e6d1b8f51dd8f5b3324263d4b4d935a (diff)
H.261 encoder by (Maarten Daniels <maarten dot daniels at luc dot ac dot be>)
Originally committed as revision 3643 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/mpegvideo_mmx_template.c')
-rw-r--r--libavcodec/i386/mpegvideo_mmx_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/i386/mpegvideo_mmx_template.c b/libavcodec/i386/mpegvideo_mmx_template.c
index 8520daab34..c9354dc1bb 100644
--- a/libavcodec/i386/mpegvideo_mmx_template.c
+++ b/libavcodec/i386/mpegvideo_mmx_template.c
@@ -88,7 +88,7 @@ static int RENAME(dct_quantize)(MpegEncContext *s,
qmat = s->q_inter_matrix16[qscale][0];
}
- if(s->out_format == FMT_H263 && s->mpeg_quant==0){
+ if((s->out_format == FMT_H263 || s->out_format == FMT_H261) && s->mpeg_quant==0){
asm volatile(
"movd %%"REG_a", %%mm3 \n\t" // last_non_zero_p1