diff --git a/libavcodec/snowdata.h b/libavcodec/snowdata.h index 87ab354385..fa31ae72c2 100644 --- a/libavcodec/snowdata.h +++ b/libavcodec/snowdata.h @@ -23,8 +23,9 @@ #define AVCODEC_SNOWDATA_H #include "snow.h" +#include "libavutil/mem_internal.h" -static const uint8_t obmc32[1024]={ +DECLARE_ALIGNED(16, static const uint8_t, obmc32)[1024]={ 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 5, 5, 5, 4, 4, 4, 3, 3, 2, 2, 2, 1, 1, 1, 0, 0, 1, 2, 2, 3, 3, 4, 5, 5, 6, 7, 7, 8, 8, 9, 10, 10, 9, 8, 8, 7, 7, 6, 5, 5, 4, 3, 3, 2, 2, 1, 0, @@ -59,7 +60,7 @@ static const uint8_t obmc32[1024]={ 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, //error:0.000020 }; -static const uint8_t obmc16[256]={ +DECLARE_ALIGNED(16, static const uint8_t, obmc16)[256]={ 0, 1, 1, 2, 2, 3, 3, 4, 4, 3, 3, 2, 2, 1, 1, 0, 1, 2, 4, 5, 7, 8, 10, 11, 11, 10, 8, 7, 5, 4, 2, 1, 1, 4, 6, 9, 11, 14, 16, 19, 19, 16, 14, 11, 9, 6, 4, 1,