diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2020-08-26 14:28:46 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2020-09-10 20:34:51 +0800 |
commit | c748bd77dcff385e37bb9aaebdf0314d0929d331 (patch) | |
tree | 80252f9af8ad6cfebb0cf3360347a3924f4c4da1 /tests/checkasm | |
parent | 811514abb7ef398d30747b1925ad880a841c87e9 (diff) | |
download | ffmpeg-c748bd77dcff385e37bb9aaebdf0314d0929d331.tar.gz |
tests: fix warning ISO C90 forbids mixed declarations and code
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'tests/checkasm')
-rw-r--r-- | tests/checkasm/vf_hflip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/vf_hflip.c b/tests/checkasm/vf_hflip.c index 48ebf85fdb..2d6fdeca7b 100644 --- a/tests/checkasm/vf_hflip.c +++ b/tests/checkasm/vf_hflip.c @@ -40,10 +40,10 @@ static void check_hflip(int step, const char * report_name){ int i; int step_array[4] = {1, 1, 1, 1}; FlipContext s; - s.bayer_plus1 = 1; declare_func(void, const uint8_t *src, uint8_t *dst, int w); + s.bayer_plus1 = 1; memset(src, 0, WIDTH_PADDED); memset(dst_ref, 0, WIDTH_PADDED); memset(dst_new, 0, WIDTH_PADDED); |