# HG changeset patch # User kostya # Date 1161835568 0 # Node ID 00a0b18cfb9214e1d152845338d7a56cb56fd044 # Parent 6a10cc9adb8ab2ca1e437ec72ff9a7f967dca22b 10l predictor should not skip first line diff -r 6a10cc9adb8a -r 00a0b18cfb92 tiff.c --- a/tiff.c Tue Oct 24 18:57:43 2006 +0000 +++ b/tiff.c Thu Oct 26 04:06:08 2006 +0000 @@ -335,7 +335,7 @@ return -1; } if(value == 2){ - src = pic->data[0] + pic->linesize[0]; + src = pic->data[0]; stride = pic->linesize[0]; soff = s->bpp >> 3; ssize = s->width * soff;