Use LOCAL_ALIGNED in ff_check_alignment()
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
@@ -2844,7 +2844,7 @@ av_cold void dsputil_static_init(void)
|
|||||||
|
|
||||||
int ff_check_alignment(void){
|
int ff_check_alignment(void){
|
||||||
static int did_fail=0;
|
static int did_fail=0;
|
||||||
DECLARE_ALIGNED(16, int, aligned);
|
LOCAL_ALIGNED_16(int, aligned);
|
||||||
|
|
||||||
if((intptr_t)&aligned & 15){
|
if((intptr_t)&aligned & 15){
|
||||||
if(!did_fail){
|
if(!did_fail){
|
||||||
|
Reference in New Issue
Block a user