summaryrefslogtreecommitdiff
path: root/libavcodec/dstdec.c
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2018-12-24 20:09:18 +1100
committerPeter Ross <pross@xvid.org>2019-01-12 19:38:10 +1100
commitad0d5d7516dc3de7d1172c03920256b6a48fcd39 (patch)
tree1953d1ac9e2f07250b8b38c7e5064cfc9cd4699c /libavcodec/dstdec.c
parent5764c9528b97c8340bfaacbe98b1de87a8e92e4d (diff)
downloadffmpeg-ad0d5d7516dc3de7d1172c03920256b6a48fcd39.tar.gz
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 <pross@xvid.org>
Diffstat (limited to 'libavcodec/dstdec.c')
-rw-r--r--libavcodec/dstdec.c2
1 files changed, 1 insertions, 1 deletions
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;