diff options
author | James Almer <jamrial@gmail.com> | 2020-07-11 20:55:32 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-07-12 11:30:23 -0300 |
commit | 55e1bc39cb3e485e5b0b6b13a41a2fd6f18ed3af (patch) | |
tree | 85e73095df0808c6098ff6e19b93d00c68b13626 /tests/checkasm | |
parent | 320694ff84a609c5b0438c1f10da355cb48a0be3 (diff) | |
download | ffmpeg-55e1bc39cb3e485e5b0b6b13a41a2fd6f18ed3af.tar.gz |
checkasm/vf_blend: use the correct depth parameters to initialize the blend modes
This effectively enables the tests that until now were just running
the C version alone.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/checkasm')
-rw-r--r-- | tests/checkasm/vf_blend.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(¶m, depth - 1); \ + ff_blend_init(¶m, depth * 8); \ if (check_func(param.blend, #name)) \ check_blend_func(depth); |