summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Vignali <martin.vignali@gmail.com>2017-11-21 22:01:42 +0100
committerMartin Vignali <martin.vignali@gmail.com>2017-12-01 21:08:07 +0100
commit9bed17cd0f02dda5e1211a7a61c24b8957a2e100 (patch)
treed771b670c74e4e0c35775754430868180f3e8e5b /tests
parente1dd97bd4c03d658f9b18a0d6269f1bc06f796c9 (diff)
checkasm/utvideo : be more explicit to the WIDTH_PADDED define
Diffstat (limited to 'tests')
-rw-r--r--tests/checkasm/utvideodsp.c2
1 files changed, 1 insertions, 1 deletions
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)