aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/motion_est.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2001-07-24 20:42:03 +0000
committerFabrice Bellard <fabrice@bellard.org>2001-07-24 20:42:03 +0000
commitfb16b7e7b33ec84765d9bb9b36e0859a7b2c0b05 (patch)
treeb347472908fdacf757acc4d3234ff0fc30511362 /libavcodec/motion_est.c
parent7d650cb540b68ceba96abbe3be196473df8e3c5d (diff)
downloadffmpeg-fb16b7e7b33ec84765d9bb9b36e0859a7b2c0b05.tar.gz
added emms_c() macro which should can used in c code in both mmx/non mmx cases
Originally committed as revision 12 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/motion_est.c')
-rw-r--r--libavcodec/motion_est.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c
index 0d776631cc..d3e31fc428 100644
--- a/libavcodec/motion_est.c
+++ b/libavcodec/motion_est.c
@@ -434,10 +434,7 @@ int estimate_motion(MpegEncContext * s,
dmin = phods_motion_search(s, &mx, &my, range / 2, xmin, ymin, xmax, ymax);
break;
}
-#ifdef HAVE_MMX
- if (mm_flags & MM_MMX)
- emms();
-#endif
+ emms_c();
/* intra / predictive decision */
xx = mb_x * 16;