summaryrefslogtreecommitdiff
path: root/community/amsn/amsn-jpeg7.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/amsn/amsn-jpeg7.patch')
-rw-r--r--community/amsn/amsn-jpeg7.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/amsn/amsn-jpeg7.patch b/community/amsn/amsn-jpeg7.patch
new file mode 100644
index 000000000..d9c9f103d
--- /dev/null
+++ b/community/amsn/amsn-jpeg7.patch
@@ -0,0 +1,10 @@
+--- utils/TkCximage/src/CxImage/ximajpg.cpp.orig 2009-07-18 05:29:43.000000000 -0300
++++ utils/TkCximage/src/CxImage/ximajpg.cpp 2009-07-18 05:30:31.000000000 -0300
+@@ -142,6 +142,7 @@
+ */ //</DP>
+
+ // Set the scale <ignacio>
++ SetJpegScale(8); // Set an initial value (FIX for jpeg-7)
+ cinfo.scale_denom = GetJpegScale();
+
+ // Borrowed the idea from GIF implementation <ignacio>