From 9bed17cd0f02dda5e1211a7a61c24b8957a2e100 Mon Sep 17 00:00:00 2001 From: Martin Vignali Date: Tue, 21 Nov 2017 22:01:42 +0100 Subject: [PATCH] checkasm/utvideo : be more explicit to the WIDTH_PADDED define --- tests/checkasm/utvideodsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checkasm/utvideodsp.c b/tests/checkasm/utvideodsp.c index 618706a6e3..080b4287d7 100644 --- a/tests/checkasm/utvideodsp.c +++ b/tests/checkasm/utvideodsp.c @@ -27,7 +27,7 @@ #define WIDTH 240 #define HEIGHT 120 -#define WIDTH_PADDED (WIDTH+WIDTH%32) +#define WIDTH_PADDED (WIDTH + 16) /* padded to 32 */ #define BUFFER_SIZE (WIDTH_PADDED * HEIGHT)