jpeg: fix display of dimensions.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 18 Jun 2012 11:49:47 +0000 (13:49 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 18 Jun 2012 14:25:16 +0000 (16:25 +0200)
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>
test/decode/loadjpeg.c

index 3e1a60b..6258e28 100644 (file)
@@ -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));