diff --git a/libavcodec/os2thread.c b/libavcodec/os2thread.c index 5c74a7d658..583f255ea0 100644 --- a/libavcodec/os2thread.c +++ b/libavcodec/os2thread.c @@ -39,7 +39,7 @@ typedef struct ThreadContext{ }ThreadContext; -void thread_func(void *v){ +void attribute_align_arg thread_func(void *v){ ThreadContext *c= v; for(;;){