diff i386/mpegvideo_mmx.c @ 312:8cf5507e6ca5 libavcodec

mpeg4 mpeg quantizer support
author michaelni
date Sun, 07 Apr 2002 02:03:32 +0000
parents ddb1a0e94cf4
children 15efd80cf51e
line wrap: on
line diff
--- a/i386/mpegvideo_mmx.c	Sat Apr 06 22:29:37 2002 +0000
+++ b/i386/mpegvideo_mmx.c	Sun Apr 07 02:03:32 2002 +0000
@@ -440,11 +440,9 @@
 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){