[FFmpeg-cvslog] tests: fix warning ISO C90 forbids mixed declarations and code
Limin Wang
git at videolan.org
Thu Sep 10 15:35:52 EEST 2020
ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Wed Aug 26 14:28:46 2020 +0800| [c748bd77dcff385e37bb9aaebdf0314d0929d331] | committer: Limin Wang
tests: fix warning ISO C90 forbids mixed declarations and code
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c748bd77dcff385e37bb9aaebdf0314d0929d331
---
tests/checkasm/vf_hflip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
More information about the ffmpeg-cvslog
mailing list