diff mbox series

[FFmpeg-devel] checkasm/vf_blend: use the correct depth parameters to initialize the blend modes

Message ID 20200711235605.388-1-jamrial@gmail.com
State Accepted
Commit 55e1bc39cb3e485e5b0b6b13a41a2fd6f18ed3af
Headers show
Series [FFmpeg-devel] checkasm/vf_blend: use the correct depth parameters to initialize the blend modes | expand

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

James Almer July 11, 2020, 11:56 p.m. UTC
This effectively enables the tests that until now were just running
the C version alone.

Signed-off-by: James Almer <jamrial@gmail.com>
---
 tests/checkasm/vf_blend.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tests/checkasm/vf_blend.c b/tests/checkasm/vf_blend.c
index a7578fec39..bdd21d4986 100644
--- a/tests/checkasm/vf_blend.c
+++ b/tests/checkasm/vf_blend.c
@@ -99,7 +99,7 @@  void checkasm_check_blend(void)
 
 #define check_and_report(name, val, depth)        \
     param.mode = val;                             \
-    ff_blend_init(&param, depth - 1);             \
+    ff_blend_init(&param, depth * 8);             \
     if (check_func(param.blend, #name))           \
         check_blend_func(depth);