summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJames Darnley <jdarnley@obe.tv>2022-12-21 00:36:49 +0100
committerJames Darnley <jdarnley@obe.tv>2022-12-21 00:36:49 +0100
commiteef763c7057a7f5f4b7dae7855d07b2a6da8b537 (patch)
treea8fbdd55ed6e99179e7a9057b1dc284be344d47e /tests
parentb7d063951d774db5833b7d65162a11dde8bcaeaf (diff)
downloadffmpeg-eef763c7057a7f5f4b7dae7855d07b2a6da8b537.tar.gz
checkasm/v210dec: add extra space to the destination arrays
Diffstat (limited to 'tests')
-rw-r--r--tests/checkasm/v210dec.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/checkasm/v210dec.c b/tests/checkasm/v210dec.c
index 93993bae71..391169155e 100644
--- a/tests/checkasm/v210dec.c
+++ b/tests/checkasm/v210dec.c
@@ -54,12 +54,12 @@ void checkasm_check_v210dec(void)
if (check_func(h.unpack_frame, "v210_unpack")) {
uint32_t src0[NUM_SAMPLES/3];
uint32_t src1[NUM_SAMPLES/3];
- uint16_t y0[NUM_SAMPLES/2 + 15];
- uint16_t y1[NUM_SAMPLES/2 + 15];
- uint16_t u0[NUM_SAMPLES/4 + 7];
- uint16_t u1[NUM_SAMPLES/4 + 7];
- uint16_t v0[NUM_SAMPLES/4 + 7];
- uint16_t v1[NUM_SAMPLES/4 + 7];
+ uint16_t y0[NUM_SAMPLES/2 + 26];
+ uint16_t y1[NUM_SAMPLES/2 + 26];
+ uint16_t u0[NUM_SAMPLES/4 + 13];
+ uint16_t u1[NUM_SAMPLES/4 + 13];
+ uint16_t v0[NUM_SAMPLES/4 + 13];
+ uint16_t v1[NUM_SAMPLES/4 + 13];
declare_func(void, const uint32_t *src, uint16_t *y, uint16_t *u, uint16_t *v, int width);
const int pixels = NUM_SAMPLES / 2 / 6 * 6;