summaryrefslogtreecommitdiff
path: root/community-testing/amsn/amsn-jpeg7.patch
blob: d9c9f103d23283eac7d66e367005ee50688c52cb (plain)
1
2
3
4
5
6
7
8
9
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>