diff libmpcodecs/vf_halfpack.c @ 18104:7b408d60de9e

add support for intel mac. mp3lib is not fixed yet.
author nplourde
date Sat, 15 Apr 2006 20:46:54 +0000
parents 20aca9baf5d8
children 8579acff875e
line wrap: on
line diff
--- a/libmpcodecs/vf_halfpack.c	Sat Apr 15 16:47:25 2006 +0000
+++ b/libmpcodecs/vf_halfpack.c	Sat Apr 15 20:46:54 2006 +0000
@@ -6,6 +6,7 @@
 #include "config.h"
 #include "mp_msg.h"
 #include "cpudetect.h"
+#include "asmalign.h"
 
 #include "img_format.h"
 #include "mp_image.h"
@@ -40,7 +41,7 @@
 	for (h/=2; h; h--) {
 		asm (
 			"pxor %%mm0, %%mm0 \n\t"
-			".balign 16 \n\t"
+			ASMALIGN16
 			"1: \n\t"
 			"movq (%0), %%mm1 \n\t"
 			"movq (%0), %%mm2 \n\t"