From ad0d5d7516dc3de7d1172c03920256b6a48fcd39 Mon Sep 17 00:00:00 2001 From: Peter Ross Date: Mon, 24 Dec 2018 20:09:18 +1100 Subject: [PATCH] avcodec/dstdec: use appropriate alignment this was a typo in my original dst decoder. there is no requirement for 64-byte alignment here. the change does not affect decoder performance. Signed-off-by: Peter Ross --- libavcodec/dstdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dstdec.c b/libavcodec/dstdec.c index 4f75bc9f37..0614c99c4b 100644 --- a/libavcodec/dstdec.c +++ b/libavcodec/dstdec.c @@ -70,7 +70,7 @@ typedef struct DSTContext { GetBitContext gb; ArithCoder ac; Table fsets, probs; - DECLARE_ALIGNED(64, uint8_t, status)[DST_MAX_CHANNELS][16]; + DECLARE_ALIGNED(16, uint8_t, status)[DST_MAX_CHANNELS][16]; DECLARE_ALIGNED(16, int16_t, filter)[DST_MAX_ELEMENTS][16][256]; DSDContext dsdctx[DST_MAX_CHANNELS]; } DSTContext;