aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/i386/mpegvideo_mmx.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-04-07 02:03:32 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-04-07 02:03:32 +0000
commit3bf43d42eda38abd5b75d004e1431d71aacfbe48 (patch)
tree125b6236234e228bfa5646155d59f9148e89ae9c /libavcodec/i386/mpegvideo_mmx.c
parente1a9dbffed0b9d087d9f062ee61c493dd262caba (diff)
downloadffmpeg-3bf43d42eda38abd5b75d004e1431d71aacfbe48.tar.gz
mpeg4 mpeg quantizer support
Originally committed as revision 381 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/mpegvideo_mmx.c')
-rw-r--r--libavcodec/i386/mpegvideo_mmx.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libavcodec/i386/mpegvideo_mmx.c b/libavcodec/i386/mpegvideo_mmx.c
index f23bdd827a..28cba8a1af 100644
--- a/libavcodec/i386/mpegvideo_mmx.c
+++ b/libavcodec/i386/mpegvideo_mmx.c
@@ -440,11 +440,9 @@ void unused_var_warning_killer(){
void MPV_common_init_mmx(MpegEncContext *s)
{
if (mm_flags & MM_MMX) {
- if (s->out_format == FMT_H263)
- s->dct_unquantize = dct_unquantize_h263_mmx;
- else
- s->dct_unquantize = dct_unquantize_mpeg1_mmx;
-
+ s->dct_unquantize_h263 = dct_unquantize_h263_mmx;
+ s->dct_unquantize_mpeg = dct_unquantize_mpeg1_mmx;
+
draw_edges = draw_edges_mmx;
if(mm_flags & MM_MMXEXT){