diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-03-14 19:27:58 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2010-03-14 19:27:58 +0000 |
commit | 108d262c5614bd4e8113dc24b1a9c29d8c3cd6d7 (patch) | |
tree | 0c75fa497b2bba4cbb13afd65bfe674141f8d21c /libavcodec/tableprint.c | |
parent | 33996217ca10c92f2f50909c199236fafa01cf1e (diff) | |
download | ffmpeg-108d262c5614bd4e8113dc24b1a9c29d8c3cd6d7.tar.gz |
Add some more table-printing functions needed for future patches.
Originally committed as revision 22524 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/tableprint.c')
-rw-r--r-- | libavcodec/tableprint.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/tableprint.c b/libavcodec/tableprint.c index 0a572b7eb5..6ff9f1f869 100644 --- a/libavcodec/tableprint.c +++ b/libavcodec/tableprint.c @@ -38,6 +38,8 @@ void write_##name##_array(const void *arg, int len, int dummy)\ } WRITE_1D_FUNC(int8, int8_t, "%3"PRIi8, 15) +WRITE_1D_FUNC(uint8, uint8_t, "0x%02"PRIx8, 15) +WRITE_1D_FUNC(uint16, uint16_t, "0x%08"PRIx16, 7) WRITE_1D_FUNC(uint32, uint32_t, "0x%08"PRIx32, 7) WRITE_1D_FUNC(float, float, "%.18e", 3) @@ -54,6 +56,7 @@ void write_##name##_2d_array(const void *arg, int len, int len2)\ } WRITE_2D_FUNC(int8, int8_t) +WRITE_2D_FUNC(uint8, uint8_t) WRITE_2D_FUNC(uint32, uint32_t) int main(int argc, char *argv[]) |