Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37569062
en ru br
ALT Linux repositórios
S:1.12.2-alt2.1
5.0: 1.12.2-alt1
4.1: 1.12.2-alt1
4.0: 1.12.2-ipl12mdk
3.0: 1.12.2-ipl12mdk

Group :: Gráficos
RPM: giftrans

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: 10_local_colour_tables.diff
Download


(Re. Debian Bug #20715)
 This bug is caused by the local color table in the image not being
 parsed.  The patch below fixes giftrans for images with local color
 tables.
 John Lightsey
 john@nixnuts.net
--- giftrans-1.12.2.orig/giftrans.c
+++ giftrans-1.12.2/giftrans.c
@@ -547,8 +547,8 @@
 			if (output)
 				(void)fwrite((void *)buffer,10,1,dest);
 			/* Local Color Table */
-			if (buffer[8]&0x80) {
-				size=2<<(buffer[8]&0x7);
+			if (buffer[9]&0x80) {
+				size=2<<(buffer[9]&0x7);
 				pos=ftell(src);
 				(void)fread((void *)buffer,size,3,src);
 				if (verbose) {
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009