Use emms_c() instead of ifdef
authorRonald S. Bultje <rsbultje@gmail.com>
Sat, 29 Sep 2007 15:09:34 +0000 (15:09 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Sat, 29 Sep 2007 15:09:34 +0000 (15:09 +0000)
patch by: Ronald S. Bultje rsbultje a gmail d com

Originally committed as revision 10616 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/imgconvert.c

index d1f9bba..c64d56b 100644 (file)
@@ -2855,9 +2855,7 @@ int avpicture_deinterlace(AVPicture *dst, const AVPicture *src,
                                         width, height);
         }
     }
-#ifdef HAVE_MMX
-    emms();
-#endif
+    emms_c();
     return 0;
 }