summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-06-18 13:49:47 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-06-18 16:25:16 +0200
commitda40f0857bb0f5f230456b3d3339a71cd3947a80 (patch)
tree6d5ff695ff76a3f6621016885c991cc5cd0a76ce
parent1c1bc3ec87cf23a5cf44d6a96719c58ded6b327c (diff)
jpeg: fix display of dimensions.
Use human-readable form for image dimensions. i.e. use decimal representation instead of hexadecimal one. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
-rw-r--r--test/decode/loadjpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/decode/loadjpeg.c b/test/decode/loadjpeg.c
index 3e1a60b..6258e28 100644
--- a/test/decode/loadjpeg.c
+++ b/test/decode/loadjpeg.c
@@ -87,7 +87,7 @@ int convert_one_image(const char *infilename)
/* Get the size of the image */
tinyjpeg_get_size(jdec, &width, &height);
- printf("Decoding JPEG image %xx%x...\n", width, height);
+ printf("Decoding JPEG image %dx%d...\n", width, height);
if (tinyjpeg_decode(jdec) < 0)
exitmessage(tinyjpeg_get_errorstring(jdec));