aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2024-04-30 10:17:50 +0300
committerMartin Storsjö <martin@martin.st>2024-04-30 23:13:47 +0300
commitd11be191fa41c652bf6803a7d421a08e6f30d06b (patch)
tree7bf6e5a86f95374b2d18744cf27d6b71fae402d8
parent1d89de03d6a9273b5d552a02d50f8f23b6c84f9d (diff)
downloadffmpeg-d11be191fa41c652bf6803a7d421a08e6f30d06b.tar.gz
checkasm: vc1dsp: Align buffers sufficiently for the mspel tests
This fixes crashes in the mspel tests on x86. Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--tests/checkasm/vc1dsp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/checkasm/vc1dsp.c b/tests/checkasm/vc1dsp.c
index 407d9e5fe8..f18f0f8251 100644
--- a/tests/checkasm/vc1dsp.c
+++ b/tests/checkasm/vc1dsp.c
@@ -441,10 +441,10 @@ static void check_unescape(void)
static void check_mspel_pixels(void)
{
- LOCAL_ALIGNED_8(uint8_t, src0, [32 * 32]);
- LOCAL_ALIGNED_8(uint8_t, src1, [32 * 32]);
- LOCAL_ALIGNED_8(uint8_t, dst0, [32 * 32]);
- LOCAL_ALIGNED_8(uint8_t, dst1, [32 * 32]);
+ LOCAL_ALIGNED_16(uint8_t, src0, [32 * 32]);
+ LOCAL_ALIGNED_16(uint8_t, src1, [32 * 32]);
+ LOCAL_ALIGNED_16(uint8_t, dst0, [32 * 32]);
+ LOCAL_ALIGNED_16(uint8_t, dst1, [32 * 32]);
VC1DSPContext h;