Mercurial > hg > forks > geeqie
changeset 2102:b141d52944ab
Fix big endian support in tiff loader
author | Michal Čihař <mcihar@suse.cz> |
---|---|
date | Tue, 21 Aug 2012 14:53:05 +0200 |
parents | 40bcef39af3d |
children | 48f2a488bee6 dea49df746fc |
files | src/image_load_tiff.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/image_load_tiff.c Tue Aug 21 11:40:57 2012 +0200 +++ b/src/image_load_tiff.c Tue Aug 21 14:53:05 2012 +0200 @@ -326,7 +326,7 @@ /* 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 @@ -#endif \ No newline at end of file +#endif