summaryrefslogtreecommitdiff
path: root/plugins/AdvaImg/src/LibJPEG/djpeg.c
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-08-26 14:14:54 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-08-26 14:14:54 +0000
commit4906fb47f340bea7d2ba551364d1a5d8d0473861 (patch)
tree1ca2cbed515675150be45f06f0cbb779683ca626 /plugins/AdvaImg/src/LibJPEG/djpeg.c
parentaf85ed40e26a345cc15ba7f310c92a62116865d1 (diff)
libjpeg update
git-svn-id: http://svn.miranda-ng.org/main/trunk@5843 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AdvaImg/src/LibJPEG/djpeg.c')
-rw-r--r--plugins/AdvaImg/src/LibJPEG/djpeg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/AdvaImg/src/LibJPEG/djpeg.c b/plugins/AdvaImg/src/LibJPEG/djpeg.c
index 363c628cbe..77718cefbe 100644
--- a/plugins/AdvaImg/src/LibJPEG/djpeg.c
+++ b/plugins/AdvaImg/src/LibJPEG/djpeg.c
@@ -2,7 +2,7 @@
* djpeg.c
*
* Copyright (C) 1991-1997, Thomas G. Lane.
- * Modified 2009 by Guido Vollbeding.
+ * Modified 2009-2013 by Guido Vollbeding.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
@@ -298,7 +298,7 @@ parse_switches (j_decompress_ptr cinfo, int argc, char **argv,
cinfo->mem->max_memory_to_use = lval * 1000L;
} else if (keymatch(arg, "nosmooth", 3)) {
- /* Suppress fancy upsampling */
+ /* Suppress fancy upsampling. */
cinfo->do_fancy_upsampling = FALSE;
} else if (keymatch(arg, "onepass", 3)) {
@@ -327,7 +327,7 @@ parse_switches (j_decompress_ptr cinfo, int argc, char **argv,
/* Scale the output image by a fraction M/N. */
if (++argn >= argc) /* advance to next argument */
usage();
- if (sscanf(argv[argn], "%d/%d",
+ if (sscanf(argv[argn], "%u/%u",
&cinfo->scale_num, &cinfo->scale_denom) < 1)
usage();