gimp r27129 - in trunk: . plug-ins/file-jpeg
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27129 - in trunk: . plug-ins/file-jpeg
- Date: Sat, 4 Oct 2008 22:46:43 +0000 (UTC)
Author: neo
Date: Sat Oct 4 22:46:42 2008
New Revision: 27129
URL: http://svn.gnome.org/viewvc/gimp?rev=27129&view=rev
Log:
2008-10-05 Sven Neumann <sven gimp org>
* plug-ins/file-jpeg/jpeg.c (run): fixed problem introduced by
the
use of an enum for the subsampling factor. Fixes bug #554890.
Modified:
trunk/ChangeLog
trunk/plug-ins/file-jpeg/jpeg.c
Modified: trunk/plug-ins/file-jpeg/jpeg.c
==============================================================================
--- trunk/plug-ins/file-jpeg/jpeg.c (original)
+++ trunk/plug-ins/file-jpeg/jpeg.c Sat Oct 4 22:46:42 2008
@@ -442,9 +442,11 @@
}
if (orig_subsmp == JPEG_SUPSAMPLING_1x1_1x1_1x1 ||
- (orig_subsmp > JPEG_SUPSAMPLING_1x1_1x1_1x1 &&
+ ((gint) orig_subsmp > 0 &&
jsvals.subsmp == JPEG_SUPSAMPLING_1x1_1x1_1x1))
- jsvals.subsmp = orig_subsmp;
+ {
+ jsvals.subsmp = orig_subsmp;
+ }
}
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]