diff options
author | James Almer <jamrial@gmail.com> | 2017-12-04 15:26:34 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-12-04 15:46:09 -0300 |
commit | 1b324700e3a1cb7894bfbd76f5591cf643dc0371 (patch) | |
tree | 9c01d1dcd1eb92889e00a745cdc4baaf886282a0 /tests/checkasm | |
parent | 942eafcf08c440eb23f08c10bd7b56d1c27fd21c (diff) | |
download | ffmpeg-1b324700e3a1cb7894bfbd76f5591cf643dc0371.tar.gz |
checkasm/vf_threshold: fix mixed code and declarations
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/checkasm')
-rw-r--r-- | tests/checkasm/vf_threshold.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/checkasm/vf_threshold.c b/tests/checkasm/vf_threshold.c index 770f00ed3b..3709f2671e 100644 --- a/tests/checkasm/vf_threshold.c +++ b/tests/checkasm/vf_threshold.c @@ -42,16 +42,16 @@ static void check_threshold_8(void){ ptrdiff_t line_size = WIDTH_PADDED; int w = WIDTH; - ThresholdContext s; - s.depth = 8; - ff_threshold_init(&s); - declare_func(void, const uint8_t *in, const uint8_t *threshold, const uint8_t *min, const uint8_t *max, uint8_t *out, ptrdiff_t ilinesize, ptrdiff_t tlinesize, ptrdiff_t flinesize, ptrdiff_t slinesize, ptrdiff_t olinesize, int w, int h); + ThresholdContext s; + s.depth = 8; + ff_threshold_init(&s); + memset(in, 0, WIDTH_PADDED); memset(threshold, 0, WIDTH_PADDED); memset(min, 0, WIDTH_PADDED); |