Commit 607550ea authored by Angie Chiang's avatar Angie Chiang
Browse files

Fix seg fault introduced in dist_block()


Change-Id: I20ae2fda1e545018329373bc3c29764cfd6935e9
parent 44d7e669
......@@ -1494,7 +1494,7 @@ static void dist_block(const AV1_COMP *cpi, MACROBLOCK *x, int plane,
} else {
DECLARE_ALIGNED(16, uint16_t, recon16[MAX_TX_SQUARE]);
uint8_t *recon = (uint8_t *)recon16;
uint8_t *recon = CONVERT_TO_BYTEPTR(recon16);
DECLARE_ALIGNED(16, uint8_t, recon[MAX_TX_SQUARE]);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment