projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bc47e5
)
Fix big endian support in tiff loader
author
Michal Čihař
<mcihar@suse.cz>
Tue, 21 Aug 2012 12:53:05 +0000
(14:53 +0200)
committer
Michal Čihař
<mcihar@suse.cz>
Tue, 21 Aug 2012 12:53:05 +0000
(14:53 +0200)
src/image_load_tiff.c
patch
|
blob
|
history
diff --git
a/src/image_load_tiff.c
b/src/image_load_tiff.c
index
d32899c
..
71a33b8
100644
(file)
--- a/
src/image_load_tiff.c
+++ b/
src/image_load_tiff.c
@@
-326,7
+326,7
@@
static gboolean image_loader_tiff_load (gpointer loader, const guchar *buf, gsiz
/* Turns out that the packing used by TIFFRGBAImage depends on
* the host byte order...
*/
- while (pixels < pixbuf->pixels + bytes)
+ while (pixels <
lt->
pixbuf->pixels + bytes)
{
uint32 pixel = *(uint32 *)pixels;
int r = TIFFGetR(pixel);
@@
-419,4
+419,4
@@
void image_loader_backend_set_tiff(ImageLoaderBackend *funcs)
-#endif
\ No newline at end of file
+#endif