]> granicus.if.org Git - libvpx/commitdiff
Fix the memory alignment issue due to patch:
authorhkuang <hkuang@google.com>
Wed, 21 May 2014 17:08:06 +0000 (10:08 -0700)
committerhkuang <hkuang@google.com>
Wed, 21 May 2014 17:08:06 +0000 (10:08 -0700)
https://gerrit.chromium.org/gerrit/#/c/70162/

Change-Id: I797be6a4b21460de6d791125fc20d2be3a35364f

vp9/decoder/vp9_decodeframe.c

index de58939fcfd885fb80a0e6d26e2c2d3fb8119682..d6482761b9b380e1fa3b8d922f78fec680f17c8c 100644 (file)
@@ -802,7 +802,7 @@ static const uint8_t *decode_tiles(VP9Decoder *pbi,
     CHECK_MEM_ERROR(
         cm,
         pbi->tile_data,
-        vpx_malloc(tile_cols * tile_rows * (sizeof(*pbi->tile_data))));
+        vpx_memalign(32, tile_cols * tile_rows * (sizeof(*pbi->tile_data))));
     pbi->total_tiles = tile_rows * tile_cols;
   }