From 5e4c7ca224417902dd714f4f50500b36b8c89148 Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Mon, 13 Aug 2007 15:28:29 +0000 Subject: =?UTF-8?q?Add=20attribute=20that=20forces=20alignment=20of=20stac?= =?UTF-8?q?k=20to=20functions=20that=20need=20it.=20Necessary=20for=20syst?= =?UTF-8?q?ems=20that=20don't=20align=20by=20default=20to=2016=20bytes,=20?= =?UTF-8?q?required=20by=20some=20SSE=20instructions.=20Requires=20GCC=20>?= =?UTF-8?q?=3D=204.2.=20Based=20on=20patch=20by=20Ga=C3=ABl=20Chardon.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 10106 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/pthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/pthread.c') diff --git a/libavcodec/pthread.c b/libavcodec/pthread.c index 244bb520dd..702adb533d 100644 --- a/libavcodec/pthread.c +++ b/libavcodec/pthread.c @@ -42,7 +42,7 @@ typedef struct ThreadContext { int done; } ThreadContext; -static void* worker(void *v) +static void* attribute_align_arg worker(void *v) { AVCodecContext *avctx = v; ThreadContext *c = avctx->thread_opaque; -- cgit v1.2.3