[FFmpeg-cvslog] checkasm/utvideo : be more explicit to the WIDTH_PADDED define
Martin Vignali
git at videolan.org
Fri Dec 1 22:09:05 EET 2017
ffmpeg | branch: master | Martin Vignali <martin.vignali at gmail.com> | Tue Nov 21 22:01:42 2017 +0100| [9bed17cd0f02dda5e1211a7a61c24b8957a2e100] | committer: Martin Vignali
checkasm/utvideo : be more explicit to the WIDTH_PADDED define
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9bed17cd0f02dda5e1211a7a61c24b8957a2e100
---
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)
More information about the ffmpeg-cvslog
mailing list