[FFmpeg-cvslog] checkasm/v210dec: add extra space to the destination arrays

James Darnley git at videolan.org
Wed Dec 21 01:40:55 EET 2022


ffmpeg | branch: master | James Darnley <jdarnley at obe.tv> | Wed Dec 21 00:36:49 2022 +0100| [eef763c7057a7f5f4b7dae7855d07b2a6da8b537] | committer: James Darnley

checkasm/v210dec: add extra space to the destination arrays

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eef763c7057a7f5f4b7dae7855d07b2a6da8b537
---

 tests/checkasm/v210dec.c | 12 ++++++------
 1 file 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;
 



More information about the ffmpeg-cvslog mailing list