[FFmpeg-cvslog] checkasm: add a verbose check function for uint32_t data

James Darnley git at videolan.org
Fri Nov 4 21:44:55 EET 2022


ffmpeg | branch: master | James Darnley <jdarnley at obe.tv> | Wed Oct 26 17:51:36 2022 +0200| [1936c06f029bd0e793aea47767b06e72a497c268] | committer: James Darnley

checkasm: add a verbose check function for uint32_t data

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1936c06f029bd0e793aea47767b06e72a497c268
---

 tests/checkasm/checkasm.c | 1 +
 tests/checkasm/checkasm.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c
index 421bd096c5..c3d77cb6af 100644
--- a/tests/checkasm/checkasm.c
+++ b/tests/checkasm/checkasm.c
@@ -918,5 +918,6 @@ int checkasm_check_##type(const char *const file, const int line, \
 
 DEF_CHECKASM_CHECK_FUNC(uint8_t,  "%02x")
 DEF_CHECKASM_CHECK_FUNC(uint16_t, "%04x")
+DEF_CHECKASM_CHECK_FUNC(uint32_t, "%08x")
 DEF_CHECKASM_CHECK_FUNC(int16_t,  "%6d")
 DEF_CHECKASM_CHECK_FUNC(int32_t,  "%9d")
diff --git a/tests/checkasm/checkasm.h b/tests/checkasm/checkasm.h
index ee9151410e..5f68115035 100644
--- a/tests/checkasm/checkasm.h
+++ b/tests/checkasm/checkasm.h
@@ -296,6 +296,7 @@ int checkasm_check_##type(const char *const file, const int line, \
 
 DECL_CHECKASM_CHECK_FUNC(uint8_t);
 DECL_CHECKASM_CHECK_FUNC(uint16_t);
+DECL_CHECKASM_CHECK_FUNC(uint32_t);
 DECL_CHECKASM_CHECK_FUNC(int16_t);
 DECL_CHECKASM_CHECK_FUNC(int32_t);
 



More information about the ffmpeg-cvslog mailing list