]> granicus.if.org Git - libvpx/commitdiff
vp9_filter: restore vp9_bilinear_filters alignment
authorJames Zern <jzern@google.com>
Thu, 11 Jun 2015 22:12:22 +0000 (15:12 -0700)
committerJames Zern <jzern@google.com>
Thu, 11 Jun 2015 22:15:25 +0000 (15:15 -0700)
the declaration containing the alignment in vp9_filter.h was removed in:
eb88b17 Make vp9 subpixel match vp8

fixes a crash in 32-bit builds

Change-Id: I9a97e6b4e8e94698e43ff79d0d8bb85043b73c61

vp9/common/vp9_filter.c

index afcdf22ec63ed9e76646339e39a20d91c1b1eba2..b256d4af5007e4cd9d36532421e9452ae20ae614 100644 (file)
@@ -12,7 +12,8 @@
 
 #include "vp9/common/vp9_filter.h"
 
-const InterpKernel vp9_bilinear_filters[SUBPEL_SHIFTS] = {
+DECLARE_ALIGNED(256, const InterpKernel,
+                vp9_bilinear_filters[SUBPEL_SHIFTS]) = {
   { 0, 0, 0, 128,   0, 0, 0, 0 },
   { 0, 0, 0, 120,   8, 0, 0, 0 },
   { 0, 0, 0, 112,  16, 0, 0, 0 },