1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

checkasm/v210dec: add extra space to the destination arrays

This commit is contained in:
James Darnley 2022-12-21 00:36:49 +01:00
parent b7d063951d
commit eef763c705

View File

@ -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;