diff options
author | jstebbins <[email protected]> | 2011-11-18 23:54:35 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-11-18 23:54:35 +0000 |
commit | 3fa8817b961e616366a28a46b149375332be9123 (patch) | |
tree | 2e0b610b6cabc38a2de8dd4998bd5e40b8f4c7a7 /libhb/ports.c | |
parent | d1f9c570e471bec711cc654f441d040bed0a5e08 (diff) |
Align stack of all threads created by libhb
This is a preemptive measure to prevent any future crashes in SSE code
that requires 16 byte stack alignment.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4358 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/ports.c')
-rw-r--r-- | libhb/ports.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/ports.c b/libhb/ports.c index 722134780..bd3564be3 100644 --- a/libhb/ports.c +++ b/libhb/ports.c @@ -342,7 +342,7 @@ static uint64_t hb_thread_to_integer( const hb_thread_t* t ) * + Get informed when the thread exits, so we know whether * hb_thread_close() will block or not. ***********************************************************************/ -static void hb_thread_func( void * _t ) +static void attribute_align_thread hb_thread_func( void * _t ) { hb_thread_t * t = (hb_thread_t *) _t; |