mirror of https://github.com/GNOME/gimp.git
fixed problem introduced by the use of an enum for the subsampling factor.
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. svn path=/trunk/; revision=27129
This commit is contained in:
parent
097e85de0c
commit
46475f6ab1
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
||||
2008-10-04 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* plug-ins/common/web-browser.c: return errors via return_vals
|
||||
|
|
|
@ -442,9 +442,11 @@ run (const gchar *name,
|
|||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue