Просмотр исходного кода

checkasm/v210dec: add extra space to the destination arrays

James Darnley 2 лет назад
Родитель
Сommit
eef763c705
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      tests/checkasm/v210dec.c

+ 6 - 6
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;